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

llvm-svn: 192272
This commit is contained in:
Craig Topper 2013-10-09 04:24:38 +00:00
parent 49d3319857
commit a328ee42cf
1 changed files with 4 additions and 4 deletions

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>;
} }
} }