[PATCH] D44092: [SystemZ] Improve side steering of FPd unit and FXU registers.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 09:01:18 PST 2021


jonpa updated this revision to Diff 319313.
jonpa added a comment.

Latest improvements - still with ongoing experiments.

-Instead of keeping side of the last cycle index of defined GPRs, just remember if the B2BW SU went left or right.

- B2BEdge() looks on the DAG and determines if the two instructions are B2B.

Currently trying two different approaches: "heuristical", or "look-ahead"..."Look-ahead" should hopefully eventually provide a near-optimal result, while maybe the heuristical could get close and simpler...


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D44092/new/

https://reviews.llvm.org/D44092

Files:
  llvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  llvm/lib/Target/SystemZ/SystemZHazardRecognizer.h
  llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
  llvm/lib/Target/SystemZ/SystemZMachineScheduler.h
  llvm/lib/Target/SystemZ/SystemZSchedule.td
  llvm/lib/Target/SystemZ/SystemZScheduleZ14.td
  llvm/lib/Target/SystemZ/SystemZScheduleZ15.td
  llvm/test/CodeGen/SystemZ/postra-sched-sidesteer.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44092.319313.patch
Type: text/x-patch
Size: 101869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/70d4c5be/attachment.bin>


More information about the llvm-commits mailing list