[PATCH] D28194: [ARM] Classification Improvements to ARM Sched-Models. NFCI.

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 07:58:41 PST 2017


rovka added a comment.

Hi Javed,

Sorry about the delay, I was out of office for a few days. Comments below.

Cheers,
Diana



================
Comment at: lib/Target/ARM/ARMInstrVFP.td:402
+                  []>,
+             Sched<[WriteFPDIV32]>;
 
----------------
Why are half precision division and multiplication modeled the same as single precision, but half precision add/sub/sqrt aren't?


================
Comment at: lib/Target/ARM/ARMSchedule.td:58
+//===----------------------------------------------------------------------===//
+// Sched definitions for intger pipeline instructions
+//
----------------
Typo: integer


================
Comment at: lib/Target/ARM/ARMScheduleA9.td:1948
 
+def : WriteRes<WriteFPDIV32, [A9UnitFP, A9UnitAGU]> { let Latency = 15; }
+def : WriteRes<WriteFPDIV64, [A9UnitFP, A9UnitAGU]> { let Latency = 25; }
----------------
Why isn't this just a SchedAlias for A9WriteFDivS?


================
Comment at: lib/Target/ARM/ARMScheduleA9.td:2554
 def : WriteRes<WritePreLd, []>;
-def : SchedAlias<WriteCvtFP, A9WriteF>;
+//def : SchedAlias<WriteCvtFP, A9WriteF>;
 def : WriteRes<WriteNoop, []> { let Latency = 0; let NumMicroOps = 0; }
----------------
Missed a spot.


https://reviews.llvm.org/D28194





More information about the llvm-commits mailing list