mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[X86][Btver2] Merge equivalent VBLENDVY + VPERMILY schedule groups
Thanks to Craig Topper for noticing this. llvm-svn: 327789
This commit is contained in:
parent
9b5349a92b
commit
476b586d94
@ -650,14 +650,14 @@ def JWriteVPERMY: SchedWriteRes<[JFPU01]> {
|
||||
let ResourceCycles = [6];
|
||||
let NumMicroOps = 6;
|
||||
}
|
||||
def : InstRW<[JWriteVPERMY], (instrs VPERMILPDYrr, VPERMILPSYrr)>;
|
||||
def : InstRW<[JWriteVPERMY], (instrs VBLENDVPDYrr, VBLENDVPSYrr, VPERMILPDYrr, VPERMILPSYrr)>;
|
||||
|
||||
def JWriteVPERMYLd: SchedWriteRes<[JLAGU, JFPU01]> {
|
||||
let Latency = 8;
|
||||
let ResourceCycles = [1, 6];
|
||||
let NumMicroOps = 6;
|
||||
}
|
||||
def : InstRW<[JWriteVPERMYLd, ReadAfterLd], (instrs VPERMILPDYrm, VPERMILPSYrm)>;
|
||||
def : InstRW<[JWriteVPERMYLd, ReadAfterLd], (instrs VBLENDVPDYrm, VBLENDVPSYrm, VPERMILPDYrm, VPERMILPSYrm)>;
|
||||
|
||||
def JWriteShuffleY: SchedWriteRes<[JFPU01]> {
|
||||
let ResourceCycles = [2];
|
||||
@ -674,18 +674,6 @@ def JWriteShuffleYLd: SchedWriteRes<[JLAGU, JFPU01]> {
|
||||
def : InstRW<[JWriteShuffleYLd, ReadAfterLd], (instrs VMOVDDUPYrm, VMOVSHDUPYrm, VMOVSLDUPYrm,
|
||||
VPERMILPDYmi, VPERMILPSYmi, VSHUFPDYrmi, VSHUFPSYrmi)>;
|
||||
|
||||
def JWriteVBlendVPY: SchedWriteRes<[JFPU01]> {
|
||||
let Latency = 3;
|
||||
let ResourceCycles = [6];
|
||||
}
|
||||
def : InstRW<[JWriteVBlendVPY], (instrs VBLENDVPDYrr, VBLENDVPSYrr, VPERMILPDYrr, VPERMILPSYrr)>;
|
||||
|
||||
def JWriteVBlendVPYLd: SchedWriteRes<[JLAGU, JFPU01]> {
|
||||
let Latency = 8;
|
||||
let ResourceCycles = [1, 6];
|
||||
}
|
||||
def : InstRW<[JWriteVBlendVPYLd, ReadAfterLd], (instrs VBLENDVPDYrm, VBLENDVPSYrm)>;
|
||||
|
||||
def JWriteVBROADCASTYLd: SchedWriteRes<[JLAGU, JFPU01]> {
|
||||
let Latency = 6;
|
||||
let ResourceCycles = [1, 4];
|
||||
|
Loading…
x
Reference in New Issue
Block a user