This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Add encoding for carryless add/sub instructions
ClosedPublic

Authored by arsenm on Jul 20 2017, 12:42 AM.

Details

Diff Detail

Event Timeline

arsenm created this revision.Jul 20 2017, 12:42 AM
SamWot accepted this revision.Jul 20 2017, 3:08 AM

LGTM

This revision is now accepted and ready to land.Jul 20 2017, 3:08 AM
dp accepted this revision.Jul 20 2017, 10:33 AM

Looks good.
As an aside note, should _co_ aliases be added as well?

In D35662#816385, @dp wrote:

Looks good.
As an aside note, should _co_ aliases be added as well?

Yes. We also probably need to do something about printing these back out as v_add_i32 rather than u32. I'm not sure what the proper thing to do is for naming any of these instructions in the backend, since renaming these really made a mess.

arsenm closed this revision.Jul 20 2017, 10:43 AM

r308639