[PATCH] D129075: [AMDGPU] gfx11 allow dlc for MUBUF atomics

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 05:50:52 PDT 2022


Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: Joe_Nash, dp, rampitec, foad.
Herald added subscribers: kosarev, jsilvanus, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
Petar.Avramovic requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Add MC support for dlc in gfx11 MUBUF atomic instructions.
Improve assembler diagnostics: report error when dlc is used in
gfx10 MUBUF atomic instruction; dlc is ignored in this case.
Matches encoding implementation for gfx10 MUBUF atomics (dlc bit is
set to 0) and disassembler behavior (errors out if dlc is set to 1).


https://reviews.llvm.org/D129075

Files:
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/BUFInstructions.td
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
  llvm/test/MC/AMDGPU/gfx10_err_pos.s
  llvm/test/MC/AMDGPU/gfx11_mubuf.s
  llvm/test/MC/Disassembler/AMDGPU/mubuf_dasm_gfx11.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129075.442078.patch
Type: text/x-patch
Size: 64283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220704/fdd8cd2a/attachment.bin>


More information about the llvm-commits mailing list