[PATCH] D118123: [AMDGPU][MC][GFX9] Enabled TBA/TMA access via setreg/getreg

Dmitry Preobrazhensky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 03:31:56 PST 2022


dp created this revision.
dp added a reviewer: foad.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
dp requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

TBA and TMA are not accessible as assembler registers in GFX9, but they should be available via s_getreg and s_setreg instructions.


https://reviews.llvm.org/D118123

Files:
  llvm/docs/AMDGPU/gfx9_hwreg.rst
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/test/MC/AMDGPU/sopk-err.s
  llvm/test/MC/AMDGPU/sopk.s
  llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118123.402811.patch
Type: text/x-patch
Size: 8355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220125/2f7f21ff/attachment.bin>


More information about the llvm-commits mailing list