[X86] Remove unnecessary FMA reg-mem InstRW scheduler overrides.

llvm-svn: 330720
This commit is contained in:
Simon Pilgrim 2018-04-24 14:47:11 +00:00
parent 2735166156
commit 16299273d0
6 changed files with 5 additions and 19 deletions

View File

@ -1547,15 +1547,6 @@ def BWWriteResGroup115 : SchedWriteRes<[BWPort0,BWPort23]> {
}
def: InstRW<[BWWriteResGroup115], (instregex "(V?)PCMPGTQrm")>;
def BWWriteResGroup116 : SchedWriteRes<[BWPort01,BWPort23]> {
let Latency = 10;
let NumMicroOps = 2;
let ResourceCycles = [1,1];
}
def: InstRW<[BWWriteResGroup116],
(instregex "VF(N)?M(ADD|SUB|ADDSUB|SUBADD)(132|213|231)P(D|S)m",
"VF(N)?M(ADD|SUB)(132|213|231)S(D|S)m")>;
def BWWriteResGroup117 : SchedWriteRes<[BWPort1,BWPort23]> {
let Latency = 10;
let NumMicroOps = 3;

View File

@ -1946,8 +1946,7 @@ def HWWriteResGroup92_2 : SchedWriteRes<[HWPort01,HWPort23]> {
let ResourceCycles = [1,1];
}
def: InstRW<[HWWriteResGroup92_2], (instregex "(V?)MULSDrm",
"(V?)MULSSrm",
"VF(N)?M(ADD|SUB)(132|213|231)S(D|S)m")>;
"(V?)MULSSrm")>;
def HWWriteResGroup93 : SchedWriteRes<[HWPort1,HWPort5]> {
let Latency = 5;

View File

@ -1758,8 +1758,6 @@ def: InstRW<[SKLWriteResGroup122], (instregex "(V?)ADDSDrm",
"(V?)MULSSrm",
"(V?)SUBSDrm",
"(V?)SUBSSrm")>;
def: InstRW<[SKLWriteResGroup122],
(instregex "VF(N)?M(ADD|SUB)(132|213|231)S(D|S)m")>;
def SKLWriteResGroup123 : SchedWriteRes<[SKLPort23,SKLPort01]> {
let Latency = 9;

View File

@ -3615,8 +3615,6 @@ def SKXWriteResGroup137 : SchedWriteRes<[SKXPort23,SKXPort015]> {
let NumMicroOps = 2;
let ResourceCycles = [1,1];
}
def: InstRW<[SKXWriteResGroup137],
(instregex "VF(N)?M(ADD|SUB)(132|213|231)S(D|S)m")>;
def: InstRW<[SKXWriteResGroup137], (instregex "ADDSDrm",
"ADDSSrm",
"CMPSDrm",

View File

@ -12,8 +12,8 @@ vfmadd213ps (%rdi), %xmm1, %xmm2
# HASWELL: [0,0] DeeeER . .. vaddps %xmm0, %xmm0, %xmm1
# HASWELL-NEXT: [0,1] D===eeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# BDWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm1
# BDWELL-NEXT: [0,1] D===eeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# BDWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm1
# BDWELL-NEXT: [0,1] DeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# SKYLAKE: [0,0] DeeeeER . .. vaddps %xmm0, %xmm0, %xmm1
# SKYLAKE-NEXT: [0,1] D====eeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2

View File

@ -12,8 +12,8 @@ vfmadd213ps (%rdi), %xmm1, %xmm2
# HASWELL: [0,0] DeeeER . .. vaddps %xmm0, %xmm0, %xmm2
# HASWELL-NEXT: [0,1] D===eeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# BDWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm2
# BDWELL-NEXT: [0,1] D===eeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# BDWELL: [0,0] DeeeER . . vaddps %xmm0, %xmm0, %xmm2
# BDWELL-NEXT: [0,1] DeeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2
# SKYLAKE: [0,0] DeeeeER . .. vaddps %xmm0, %xmm0, %xmm2
# SKYLAKE-NEXT: [0,1] D====eeeeeeeeeeER vfmadd213ps (%rdi), %xmm1, %xmm2