TBA and TMA are not accessible as assembler registers in GFX9, but they should be available via s_getreg and s_setreg instructions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/MC/AMDGPU/sopk.s | ||
---|---|---|
268 | Yes, the tests are rather formal. The assembler does not currently validate such things. |
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | ||
---|---|---|
1036–1037 | Oh, I see, adding the check for POPS_PACKER is NFC because the getLastSymbolicHwreg would exclude it for GFX9 and below anyway. I guess it is OK to leave it here for consistency if you prefer. |
Did you mean to include this in this patch?