This is an archive of the discontinued LLVM Phabricator instance.

Reset the baseline for ppc64le to be equivalent to pwr8
ClosedPublic

Authored by nemanjai on Jan 24 2015, 6:37 PM.

Details

Reviewers
wschmidt
hfinkel
Summary

Since ppc64le implies Power 8 as a minimum, it makes sense that the same features are included. Since the pwr8 processor model will likely be getting new features until the implementation is complete, I created a new list to add these updates to. This will include them in both pwr8 and ppc64le.

Furthermore, it seems that it would make sense to compose the feature lists for other processor models (pwr3 and up). I would be more than happy to make this change if everyone agrees.

Diff Detail

Event Timeline

nemanjai updated this revision to Diff 18726.Jan 24 2015, 6:37 PM
nemanjai retitled this revision from to Reset the baseline for ppc64le to be equivalent to pwr8.
nemanjai updated this object.
nemanjai edited the test plan for this revision. (Show Details)
nemanjai added reviewers: wschmidt, hfinkel.
nemanjai set the repository for this revision to rL LLVM.
nemanjai added a subscriber: Unknown Object (MLST).
hfinkel accepted this revision.Jan 24 2015, 8:46 PM
hfinkel edited edge metadata.

LGTM, thanks!

Furthermore, it seems that it would make sense to compose the feature lists for other processor models (pwr3 and up). I would be more than happy to make this change if everyone agrees.

Yes, that would also be quite nice.

Generically, I'd like to have features corresponding to the different ISA levels, so that -mattr=+ISA2.06 (bikeshed welcome) turns on all of the corresponding features. Then, for the POWER cores, we can specify their features mostly in terms of the ISA revision they support.

This revision is now accepted and ready to land.Jan 24 2015, 8:46 PM
wschmidt edited edge metadata.Jan 25 2015, 9:35 AM

Thanks, Hal! I will commit the patch on Nemanja's behalf.

wschmidt closed this revision.Jan 25 2015, 10:07 AM

Committed as r227053.

Reverted the ppc64le-aggregates.ll test change. Perhaps there is some logic that is looking directly at the cpu info rather than the defined feature set. This needs to be investigated when you get a chance.