[PATCH] D11122: AVX : Fix ISA disabling in case AVX512VL present

Elena Demikhovsky elena.demikhovsky at intel.com
Sun Jul 12 06:30:35 PDT 2015


delena added inline comments.

================
Comment at: lib/Target/X86/X86InstrSSE.td:4037
@@ -4035,3 +4036,3 @@
                              SSE_INTALU_ITINS_P, 0>;
 defm PSUBUSW : PDI_binop_all<0xD9, "psubusw", X86subus, v8i16, v16i16,
                              SSE_INTALU_ITINS_P, 0>;
----------------
Please add NoBWI for all relevant templates (i8, i16) and explicit NoVLX for instructions with 32 and 64 bit elements.

================
Comment at: test/CodeGen/X86/avx-isa-check.ll:1
@@ +1,2 @@
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -show-mc-encoding -mcpu=core-avx2 -mattr=+avx2                 -o /dev/null
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -show-mc-encoding -mcpu=knl                                    -o /dev/null
----------------
Please add a comment what we are checking in this test.


Repository:
  rL LLVM

http://reviews.llvm.org/D11122







More information about the llvm-commits mailing list