[PATCH] D44836: [X86] Remove ReadAfterLd from BMI and TBM instructions that don't have a register operand in their memory form
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 29 14:06:47 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328828: [X86] Remove ReadAfterLd from BMI and TBM instructions that don't have a… (authored by ctopper, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D44836?vs=139618&id=140331#toc
Repository:
rL LLVM
https://reviews.llvm.org/D44836
Files:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
Index: llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
+++ llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
@@ -566,7 +566,7 @@
// r,r.
def : InstRW<[ZnWriteALULat2], (instregex "BLS(I|MSK|R)(32|64)rr")>;
// r,m.
-def : InstRW<[ZnWriteALULat2Ld, ReadAfterLd], (instregex "BLS(I|MSK|R)(32|64)rm")>;
+def : InstRW<[ZnWriteALULat2Ld], (instregex "BLS(I|MSK|R)(32|64)rm")>;
// CLD STD.
def : InstRW<[WriteALU], (instregex "STD", "CLD")>;
Index: llvm/trunk/lib/Target/X86/X86InstrInfo.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td
@@ -2341,7 +2341,7 @@
let mayLoad = 1 in
def rm : I<0xF3, MemMRM, (outs RC:$dst), (ins x86memop:$src),
!strconcat(mnemonic, "\t{$src, $dst|$dst, $src}"),
- [], IIC_UNARY_MEM>, T8PS, VEX_4V, Sched<[WriteALULd, ReadAfterLd]>;
+ [], IIC_UNARY_MEM>, T8PS, VEX_4V, Sched<[WriteALULd]>;
}
}
@@ -2540,7 +2540,7 @@
!strconcat(OpcodeStr,
"\t{$cntl, $src1, $dst|$dst, $src1, $cntl}"),
[(set RC:$dst, (Int (ld_frag addr:$src1), immoperator:$cntl))],
- IIC_BIN_MEM>, XOP, XOPA, Sched<[WriteALULd, ReadAfterLd]>;
+ IIC_BIN_MEM>, XOP, XOPA, Sched<[WriteALULd]>;
}
defm BEXTRI32 : tbm_ternary_imm_intr<0x10, GR32, "bextr{l}", i32mem, loadi32,
@@ -2560,7 +2560,7 @@
let mayLoad = 1 in
def rm : I<opc, FormMem, (outs RC:$dst), (ins x86memop:$src),
!strconcat(OpcodeStr,"\t{$src, $dst|$dst, $src}"),
- [], IIC_BIN_MEM>, XOP_4V, XOP9, Sched<[WriteALULd, ReadAfterLd]>;
+ [], IIC_BIN_MEM>, XOP_4V, XOP9, Sched<[WriteALULd]>;
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44836.140331.patch
Type: text/x-patch
Size: 1858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/038e8de3/attachment.bin>
More information about the llvm-commits
mailing list