Use AVX512PIi8 for the alt forms of vcmp instructions. This adds the TB prefix and...
authorCraig Topper <craig.topper@gmail.com>
Wed, 9 Oct 2013 04:24:38 +0000 (04:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 9 Oct 2013 04:24:38 +0000 (04:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192272 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrAVX512.td

index 038f8d84429157ff2bd500fa4e80831da4e442a2..a09160061f39a54f65bef0647861aed864eb8252 100644 (file)
@@ -729,12 +729,12 @@ multiclass avx512_cmp_packed<RegisterClass KRC, RegisterClass RC,
 
   // Accept explicit immediate argument form instead of comparison code.
   let neverHasSideEffects = 1 in {
-    def rri_alt : PIi8<0xC2, MRMSrcReg,
+    def rri_alt : AVX512PIi8<0xC2, MRMSrcReg,
                (outs RC:$dst), (ins RC:$src1, RC:$src2, i8imm:$cc),
-               asm_alt, [], IIC_SSE_ALU_F32P_RR, d>;
-    def rmi_alt : PIi8<0xC2, MRMSrcMem,
+               asm_alt, [], d>;
+    def rmi_alt : AVX512PIi8<0xC2, MRMSrcMem,
                (outs RC:$dst), (ins RC:$src1, x86memop:$src2, i8imm:$cc),
-               asm_alt, [], IIC_SSE_ALU_F32P_RM, d>;
+               asm_alt, [], d>;
   }
 }