[PATCH] D40067: [X86] Update BTVER2 sched numbers for some AVX instructions (xmm version)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 10:12:29 PST 2017


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:582
+}
+def : InstRW<[WriteVMULPSLd], (instregex "VMULPSrm", "VMULSSrm")>;
+
----------------
The MULPS versions don't seem to be necessary - they match the WriteFMul defaults - its just the MULPD versions we need.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:610
+}
+def : InstRW<[WriteVMOVTPSt], (instregex "VMOVNTP(S|D)mr")>;
+
----------------
Please can you add the SSE4A MOVNTSDmr/MOVNTSSmr cases here? Note they don't have a V prefix.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:619
+
+def WriteVecMove: SchedWriteRes<[JFPU01]> {}
+def WriteVecStore: SchedWriteRes<[JFPU01, JSAGU]> {}
----------------
Are the moves doing anything at all? I didn't see any changes to the schedule tests. If not just remove this


https://reviews.llvm.org/D40067





More information about the llvm-commits mailing list