mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
[X86][SSE] Vector integer/float conversion memory folding
Tidied up some entries in the folding tables so that they are under the correct comment section (they were categorised as AVX2 instructions when they're AVX1). Minor patch agreed with qcolombet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae7aa60b2d
commit
c31aaa5a3f
@ -566,6 +566,13 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
||||
{ X86::VMOVUPSYrr, X86::VMOVUPSYrm, 0 },
|
||||
{ X86::VPERMILPDYri, X86::VPERMILPDYmi, 0 },
|
||||
{ X86::VPERMILPSYri, X86::VPERMILPSYmi, 0 },
|
||||
{ X86::VRCPPSYr, X86::VRCPPSYm, 0 },
|
||||
{ X86::VRCPPSYr_Int, X86::VRCPPSYm_Int, 0 },
|
||||
{ X86::VRSQRTPSYr, X86::VRSQRTPSYm, 0 },
|
||||
{ X86::VSQRTPDYr, X86::VSQRTPDYm, 0 },
|
||||
{ X86::VSQRTPSYr, X86::VSQRTPSYm, 0 },
|
||||
{ X86::VBROADCASTSSYrr, X86::VBROADCASTSSYrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSDYrr, X86::VBROADCASTSDYrm, TB_NO_REVERSE },
|
||||
|
||||
// AVX2 foldable instructions
|
||||
{ X86::VPABSBrr256, X86::VPABSBrm256, 0 },
|
||||
@ -574,13 +581,6 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
||||
{ X86::VPSHUFDYri, X86::VPSHUFDYmi, 0 },
|
||||
{ X86::VPSHUFHWYri, X86::VPSHUFHWYmi, 0 },
|
||||
{ X86::VPSHUFLWYri, X86::VPSHUFLWYmi, 0 },
|
||||
{ X86::VRCPPSYr, X86::VRCPPSYm, 0 },
|
||||
{ X86::VRCPPSYr_Int, X86::VRCPPSYm_Int, 0 },
|
||||
{ X86::VRSQRTPSYr, X86::VRSQRTPSYm, 0 },
|
||||
{ X86::VSQRTPDYr, X86::VSQRTPDYm, 0 },
|
||||
{ X86::VSQRTPSYr, X86::VSQRTPSYm, 0 },
|
||||
{ X86::VBROADCASTSSYrr, X86::VBROADCASTSSYrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSDYrr, X86::VBROADCASTSDYrm, TB_NO_REVERSE },
|
||||
|
||||
// BMI/BMI2/LZCNT/POPCNT/TBM foldable instructions
|
||||
{ X86::BEXTR32rr, X86::BEXTR32rm, 0 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user