[llvm] r323305 - [X86] Move 'Y' to correct place in FMA4 regular expression in Znver1 scheduler model.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 23 21:32:52 PST 2018
Author: ctopper
Date: Tue Jan 23 21:32:51 2018
New Revision: 323305
URL: http://llvm.org/viewvc/llvm-project?rev=323305&view=rev
Log:
[X86] Move 'Y' to correct place in FMA4 regular expression in Znver1 scheduler model.
I think these instructions used to be named differently and the regular expression reflected that. I guess we must have correct itinerary information that made this not matter for the scheduler test?
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=323305&r1=323304&r2=323305&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td (original)
+++ llvm/trunk/lib/Target/X86/X86ScheduleZnver1.td Tue Jan 23 21:32:51 2018
@@ -1619,10 +1619,10 @@ def ZnWriteFMADDr : SchedWriteRes<[ZnFPU
}
def : InstRW<[ZnWriteFMADDr],
(instregex
- "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)P(S|D)(213|132|231)(Y)?r",
+ "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(_REV|_Int)?",
- "VF(N?)M(ADD|SUB)P(S|D)4rr(Y)?(_REV)?")>;
+ "VF(N?)M(ADD|SUB)P(S|D)4(Y?)rr(_REV)?")>;
// v,v,m.
def ZnWriteFMADDm : SchedWriteRes<[ZnAGU, ZnFPU03]> {
@@ -1631,10 +1631,10 @@ def ZnWriteFMADDm : SchedWriteRes<[ZnAGU
}
def : InstRW<[ZnWriteFMADDm],
(instregex
- "VF(N?)M(ADD|SUB|ADDSUB|SUBADD)(213|132|231)P(S|D)(Y)?m",
+ "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)(_Int)?",
- "VF(N?)M(ADD|SUB)P(S|D)4(rm|mr)(Y)?")>;
+ "VF(N?)M(ADD|SUB)P(S|D)4(Y?)(rm|mr)")>;
// v,m,i.
def ZnWriteROUNDm : SchedWriteRes<[ZnAGU, ZnFPU3]> {
More information about the llvm-commits
mailing list