[llvm] r192272 - Use AVX512PIi8 for the alt forms of vcmp instructions. This adds the TB prefix and keeps the mnemonic from starting with an extra 'v'

Craig Topper craig.topper at gmail.com
Tue Oct 8 21:24:39 PDT 2013


Author: ctopper
Date: Tue Oct  8 23:24:38 2013
New Revision: 192272

URL: http://llvm.org/viewvc/llvm-project?rev=192272&view=rev
Log:
Use AVX512PIi8 for the alt forms of vcmp instructions. This adds the TB prefix and keeps the mnemonic from starting with an extra 'v'

Modified:
    llvm/trunk/lib/Target/X86/X86InstrAVX512.td

Modified: llvm/trunk/lib/Target/X86/X86InstrAVX512.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrAVX512.td?rev=192272&r1=192271&r2=192272&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrAVX512.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrAVX512.td Tue Oct  8 23:24:38 2013
@@ -729,12 +729,12 @@ multiclass avx512_cmp_packed<RegisterCla
 
   // 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>;
   }
 }
 





More information about the llvm-commits mailing list