mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
Add TBM instructions to loading folding tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192046 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e66dd40d74
commit
984fbe6c65
@ -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
Block a user