[llvm] r328045 - [X86] Drop unnecessary InstRW overrides for WriteFMA
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 20 14:15:23 PDT 2018
Author: rksimon
Date: Tue Mar 20 14:15:23 2018
New Revision: 328045
URL: http://llvm.org/viewvc/llvm-project?rev=328045&view=rev
Log:
[X86] Drop unnecessary InstRW overrides for WriteFMA
As noticed on D44687, these already match the WriteFMA def so can be removed.
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=328045&r1=328044&r2=328045&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td (original)
+++ llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td Tue Mar 20 14:15:23 2018
@@ -1616,30 +1616,6 @@ def ZnWriteROUNDr : SchedWriteRes<[ZnFPU
}
def : InstRW<[ZnWriteROUNDr], (instregex "(V?)ROUND(Y?)(S|P)(S|D)r")>;
-// VFMADD.
-// v,v,v.
-def ZnWriteFMADDr : SchedWriteRes<[ZnFPU03]> {
- let Latency = 5;
-}
-def : InstRW<[ZnWriteFMADDr],
- (instregex
- "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)P(S|D)(213|132|231)(Y?)r",
- "VF(N?)M(ADD|SUB)(132|231|213)S(S|D)r",
- "VF(N?)M(ADD|SUB)S(S|D)4rr",
- "VF(N?)M(ADD|SUB)P(S|D)4(Y?)rr")>;
-
-// v,v,m.
-def ZnWriteFMADDm : SchedWriteRes<[ZnAGU, ZnFPU03]> {
- let Latency = 12;
- let NumMicroOps = 2;
-}
-def : InstRW<[ZnWriteFMADDm],
- (instregex
- "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)(213|132|231)P(S|D)(Y?)m",
- "VF(N?)M(ADD|SUB)(132|231|213)S(S|D)m",
- "VF(N?)M(ADD|SUB)S(S|D)4(rm|mr)",
- "VF(N?)M(ADD|SUB)P(S|D)4(Y?)(rm|mr)")>;
-
// v,m,i.
def ZnWriteROUNDm : SchedWriteRes<[ZnAGU, ZnFPU3]> {
let Latency = 11;
More information about the llvm-commits
mailing list