[PATCH] D96309: [AMDGPU] Refactor MIMG tables to better handle hardware variants

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 17:56:34 PST 2021


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

Add mimgopc object to represent the opcode allowing different
opcodes for different hardware variants.
This enables image_atomic_fcmpswap, image_atomic_fmin, and
image_atomic_fmax on GFX10


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96309

Files:
  llvm/lib/Target/AMDGPU/MIMGInstructions.td
  llvm/test/MC/AMDGPU/gfx10_asm_mimg.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96309.322257.patch
Type: text/x-patch
Size: 45968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210209/28dbcad4/attachment.bin>


More information about the llvm-commits mailing list