This is an archive of the discontinued LLVM Phabricator instance.

R600: Make cttz / ctlz cheap to speculate
ClosedPublic

Authored by arsenm on Jan 2 2015, 9:06 AM.

Details

Reviewers
arsenm
Summary

Speculating things is generally good. SI+ has instructions for these
for 32-bit values. This is still probably better even with the expansion
for 64-bit values, although it is odd that this callback doesn't have
the size as a parameter.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 17760.Jan 2 2015, 9:06 AM
arsenm retitled this revision from to R600: Make cttz / ctlz cheap to speculate.
arsenm updated this object.
arsenm edited the test plan for this revision. (Show Details)
arsenm added a subscriber: Unknown Object (MLST).
arsenm accepted this revision.Jan 13 2015, 11:48 AM
arsenm added a reviewer: arsenm.

r225822

This revision is now accepted and ready to land.Jan 13 2015, 11:48 AM
arsenm closed this revision.Jan 13 2015, 11:49 AM