This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Other sizes of popcnt are fast
ClosedPublic

Authored by arsenm on May 17 2016, 3:10 PM.

Details

Reviewers
tstellarAMD
Summary

We can chain bcnt instructions together, so any width popcnt is pretty fast.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 57529.May 17 2016, 3:10 PM
arsenm retitled this revision from to AMDGPU: Other sizes of popcnt are fast.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.May 18 2016, 6:25 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 18 2016, 6:25 AM
arsenm closed this revision.May 18 2016, 9:17 AM

r269950