This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Define correct number of SGPRs
ClosedPublic

Authored by arsenm on Oct 21 2015, 1:49 PM.

Details

Reviewers
tstellarAMD
Summary

There are actually 104 so 2 were missing.

More assembler tests with high register number tuples
will be included in later patches.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 38047.Oct 21 2015, 1:49 PM
arsenm retitled this revision from to AMDGPU: Define correct number of SGPRs.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
mareko added a subscriber: mareko.Oct 25 2015, 3:01 AM

VI only has 0..101 SGPRs. 102..103 are FLAT_SCRATCH, 104..105 are XNACK_MASK, 106..107 are VCC.

VI only has 0..101 SGPRs. 102..103 are FLAT_SCRATCH, 104..105 are XNACK_MASK, 106..107 are VCC.

D14086 is a follow up patch which fixes this

tstellarAMD accepted this revision.Nov 3 2015, 2:27 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 3 2015, 2:27 PM
arsenm closed this revision.Nov 3 2015, 2:42 PM

r251999