Page MenuHomePhabricator

[PowerPC] Add Itineraries of IIC_IntMulHD for P7/P8
ClosedPublic

Authored by jsji on Sep 13 2018, 8:13 AM.

Details

Summary

When doing some instruction scheduling work, we noticed some missing itineraries.

Before we switch to machine scheduler, those missing itineraries might not have impact to actually scheduling,
because we can still get same latency due to default values.

With machine scheduler, however, itineraries will have impact to scheduling.
eg: NumMicroOps will default to be 0 if there is NO itineraries for specific instruction class.
And most of the instruction class with itineraries will have NumMicroOps default to 1.

This will has impact on the count of RetiredMOps, affects the Pending/Available Queue,
then causing different scheduling or suboptimal scheduling further.

This patch is for IIC_IntMulHD, and we add a new testcase in https://reviews.llvm.org/D52039 to show the difference.

Diff Detail

Repository
rL LLVM

Event Timeline

jsji created this revision.Sep 13 2018, 8:13 AM
nemanjai accepted this revision.Sep 14 2018, 7:35 AM

LGTM.

This revision is now accepted and ready to land.Sep 14 2018, 7:35 AM
This revision was automatically updated to reflect the committed changes.