[PATCH] D144033: [AMDGPU][MC][GFX11] Add partial NSA format for image sample instructions

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 10:35:44 PST 2023


mbrkusanin created this revision.
mbrkusanin added reviewers: foad, arsenm, piotr, rampitec.
mbrkusanin added a project: LLVM.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
mbrkusanin requested review of this revision.
Herald added a subscriber: wdng.

Image sample instructions that need more than 5 VGPRs for VAddr can use
partial NSA for NSA encoding format. VGPRs that can not fit into the
encoding are sequential after the last one.
This patch adds assembly and disassembly parts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144033

Files:
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/test/MC/AMDGPU/gfx11_asm_mimg_features.s
  llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mimg_features.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144033.497384.patch
Type: text/x-patch
Size: 20610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230214/eb9bc5b6/attachment.bin>


More information about the llvm-commits mailing list