forked from OSchip/llvm-project
Add TBM instructions to loading folding tables.
llvm-svn: 192046
This commit is contained in:
parent
50e8f480ea
commit
c81e29435a
|
@ -555,11 +555,27 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
|
|||
{ X86::VBROADCASTSSYrr, X86::VBROADCASTSSYrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSDYrr, X86::VBROADCASTSDYrm, TB_NO_REVERSE },
|
||||
|
||||
// BMI/BMI2/LZCNT/POPCNT foldable instructions
|
||||
// BMI/BMI2/LZCNT/POPCNT/TBM foldable instructions
|
||||
{ X86::BEXTR32rr, X86::BEXTR32rm, 0 },
|
||||
{ X86::BEXTR64rr, X86::BEXTR64rm, 0 },
|
||||
{ X86::BEXTRI32ri, X86::BEXTRI32mi, 0 },
|
||||
{ X86::BEXTRI64ri, X86::BEXTRI64mi, 0 },
|
||||
{ X86::BLCFILL32rr, X86::BLCFILL32rm, 0 },
|
||||
{ X86::BLCFILL64rr, X86::BLCFILL64rm, 0 },
|
||||
{ X86::BLCI32rr, X86::BLCI32rm, 0 },
|
||||
{ X86::BLCI64rr, X86::BLCI64rm, 0 },
|
||||
{ X86::BLCIC32rr, X86::BLCIC32rm, 0 },
|
||||
{ X86::BLCIC64rr, X86::BLCIC64rm, 0 },
|
||||
{ X86::BLCMSK32rr, X86::BLCMSK32rm, 0 },
|
||||
{ X86::BLCMSK64rr, X86::BLCMSK64rm, 0 },
|
||||
{ X86::BLCS32rr, X86::BLCS32rm, 0 },
|
||||
{ X86::BLCS64rr, X86::BLCS64rm, 0 },
|
||||
{ X86::BLSFILL32rr, X86::BLSFILL32rm, 0 },
|
||||
{ X86::BLSFILL64rr, X86::BLSFILL64rm, 0 },
|
||||
{ X86::BLSI32rr, X86::BLSI32rm, 0 },
|
||||
{ X86::BLSI64rr, X86::BLSI64rm, 0 },
|
||||
{ X86::BLSIC32rr, X86::BLSIC32rm, 0 },
|
||||
{ X86::BLSIC64rr, X86::BLSIC64rm, 0 },
|
||||
{ X86::BLSMSK32rr, X86::BLSMSK32rm, 0 },
|
||||
{ X86::BLSMSK64rr, X86::BLSMSK64rm, 0 },
|
||||
{ X86::BLSR32rr, X86::BLSR32rm, 0 },
|
||||
|
@ -580,9 +596,13 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
|
|||
{ X86::SHRX64rr, X86::SHRX64rm, 0 },
|
||||
{ X86::SHLX32rr, X86::SHLX32rm, 0 },
|
||||
{ X86::SHLX64rr, X86::SHLX64rm, 0 },
|
||||
{ X86::T1MSKC32rr, X86::T1MSKC32rm, 0 },
|
||||
{ X86::T1MSKC64rr, X86::T1MSKC64rm, 0 },
|
||||
{ X86::TZCNT16rr, X86::TZCNT16rm, 0 },
|
||||
{ X86::TZCNT32rr, X86::TZCNT32rm, 0 },
|
||||
{ X86::TZCNT64rr, X86::TZCNT64rm, 0 },
|
||||
{ X86::TZMSK32rr, X86::TZMSK32rm, 0 },
|
||||
{ X86::TZMSK64rr, X86::TZMSK64rm, 0 },
|
||||
|
||||
// AVX-512 foldable instructions
|
||||
{ X86::VMOV64toPQIZrr, X86::VMOVQI2PQIZrm, 0 },
|
||||
|
|
Loading…
Reference in New Issue