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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192272 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2013-10-09 04:24:38 +00:00
parent 442b23a817
commit 28ffa8a643

View File

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