mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 06:00:30 +00:00
[X86] Remove unnecessary WriteLEA InstRW overrides.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04273076b9
commit
0597a75372
@ -401,8 +401,7 @@ def BWWriteResGroup7 : SchedWriteRes<[BWPort15]> {
|
||||
def: InstRW<[BWWriteResGroup7], (instregex "ANDN(32|64)rr",
|
||||
"BLSI(32|64)rr",
|
||||
"BLSMSK(32|64)rr",
|
||||
"BLSR(32|64)rr",
|
||||
"LEA(16|32|64)(_32)?r")>;
|
||||
"BLSR(32|64)rr")>;
|
||||
|
||||
def BWWriteResGroup8 : SchedWriteRes<[BWPort015]> {
|
||||
let Latency = 1;
|
||||
|
@ -745,8 +745,7 @@ def HWWriteResGroup8 : SchedWriteRes<[HWPort15]> {
|
||||
def: InstRW<[HWWriteResGroup8], (instregex "ANDN(32|64)rr",
|
||||
"BLSI(32|64)rr",
|
||||
"BLSMSK(32|64)rr",
|
||||
"BLSR(32|64)rr",
|
||||
"LEA(16|32|64)(_32)?r")>;
|
||||
"BLSR(32|64)rr")>;
|
||||
|
||||
def HWWriteResGroup9 : SchedWriteRes<[HWPort015]> {
|
||||
let Latency = 1;
|
||||
|
@ -120,7 +120,7 @@ def : WriteRes<WriteSETCCStore, [SBPort05,SBPort4,SBPort23]> {
|
||||
// This is for simple LEAs with one or two input operands.
|
||||
// The complex ones can only execute on port 1, and they require two cycles on
|
||||
// the port to read all inputs. We don't model that.
|
||||
def : WriteRes<WriteLEA, [SBPort15]>;
|
||||
def : WriteRes<WriteLEA, [SBPort01]>;
|
||||
|
||||
// Bit counts.
|
||||
defm : SBWriteResPair<WriteBitScan, [SBPort1], 3, [1], 1, 5>;
|
||||
@ -341,13 +341,6 @@ def: InstRW<[SBWriteResGroup2], (instregex "FFREE",
|
||||
"(V?)MOV64toPQIrr",
|
||||
"(V?)MOVDI2PDIrr")>;
|
||||
|
||||
def SBWriteResGroup3 : SchedWriteRes<[SBPort01]> {
|
||||
let Latency = 1;
|
||||
let NumMicroOps = 1;
|
||||
let ResourceCycles = [1];
|
||||
}
|
||||
def: InstRW<[SBWriteResGroup3], (instregex "LEA(16|32|64)(_32)?r")>;
|
||||
|
||||
def SBWriteResGroup4 : SchedWriteRes<[SBPort05]> {
|
||||
let Latency = 1;
|
||||
let NumMicroOps = 1;
|
||||
|
@ -485,8 +485,7 @@ def SKLWriteResGroup8 : SchedWriteRes<[SKLPort15]> {
|
||||
def: InstRW<[SKLWriteResGroup8], (instregex "ANDN(32|64)rr",
|
||||
"BLSI(32|64)rr",
|
||||
"BLSMSK(32|64)rr",
|
||||
"BLSR(32|64)rr",
|
||||
"LEA(16|32|64)(_32)?r")>;
|
||||
"BLSR(32|64)rr")>;
|
||||
|
||||
def SKLWriteResGroup9 : SchedWriteRes<[SKLPort015]> {
|
||||
let Latency = 1;
|
||||
|
@ -790,8 +790,7 @@ def SKXWriteResGroup8 : SchedWriteRes<[SKXPort15]> {
|
||||
def: InstRW<[SKXWriteResGroup8], (instregex "ANDN(32|64)rr",
|
||||
"BLSI(32|64)rr",
|
||||
"BLSMSK(32|64)rr",
|
||||
"BLSR(32|64)rr",
|
||||
"LEA(16|32|64)(_32)?r")>;
|
||||
"BLSR(32|64)rr")>;
|
||||
|
||||
def SKXWriteResGroup9 : SchedWriteRes<[SKXPort015]> {
|
||||
let Latency = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user