[llvm] r332006 - [X86][Znver1] Remove unnecessary SchedWritePMULLD InstRW overrides.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu May 10 10:42:26 PDT 2018
Author: rksimon
Date: Thu May 10 10:42:26 2018
New Revision: 332006
URL: http://llvm.org/viewvc/llvm-project?rev=332006&view=rev
Log:
[X86][Znver1] Remove unnecessary SchedWritePMULLD InstRW overrides.
Modified:
llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
Modified: llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td?rev=332006&r1=332005&r2=332006&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td (original)
+++ llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td Thu May 10 10:42:26 2018
@@ -291,8 +291,8 @@ defm : ZnWriteResFpuPair<WriteVecALUY,
defm : ZnWriteResFpuPair<WriteVecIMul, [ZnFPU0], 4>;
defm : ZnWriteResFpuPair<WriteVecIMulX, [ZnFPU0], 4>;
defm : ZnWriteResFpuPair<WriteVecIMulY, [ZnFPU0], 4>;
-defm : ZnWriteResFpuPair<WritePMULLD, [ZnFPU0], 4>; // FIXME
-defm : ZnWriteResFpuPair<WritePMULLDY, [ZnFPU0], 5, [2]>; // FIXME
+defm : ZnWriteResFpuPair<WritePMULLD, [ZnFPU0], 4, [1], 1, 7, 1>; // FIXME
+defm : ZnWriteResFpuPair<WritePMULLDY, [ZnFPU0], 5, [2], 1, 7, 1>; // FIXME
defm : ZnWriteResFpuPair<WriteShuffle, [ZnFPU], 1>;
defm : ZnWriteResFpuPair<WriteShuffleX, [ZnFPU], 1>;
defm : ZnWriteResFpuPair<WriteShuffleY, [ZnFPU], 1>;
@@ -1073,21 +1073,6 @@ def ZnWritePCMPGTQYm : SchedWriteRes<[Zn
def : InstRW<[ZnWritePCMPGTQm], (instregex "(V?)PCMPGTQrm")>;
def : InstRW<[ZnWritePCMPGTQYm], (instregex "(V?)PCMPGTQYrm")>;
-// PMULLD.
-// x,m.
-def ZnWritePMULLDm : SchedWriteRes<[ZnAGU, ZnFPU0]> {
- let Latency = 11;
- let NumMicroOps = 2;
-}
-// y,m.
-def ZnWritePMULLDYm : SchedWriteRes<[ZnAGU, ZnFPU0]> {
- let Latency = 12;
- let NumMicroOps = 2;
- let ResourceCycles = [1, 2];
-}
-def : InstRW<[ZnWritePMULLDm], (instregex "(V?)PMULLDrm")>;
-def : InstRW<[ZnWritePMULLDYm], (instregex "(V?)PMULLDYrm")>;
-
//-- Logic instructions --//
// PSLL,PSRL,PSRA W/D/Q.
More information about the llvm-commits
mailing list