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

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 9 19:55:44 PST 2021


critson marked an inline comment as done.
critson added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/MIMGInstructions.td:835
+defm IMAGE_ATOMIC_SUB           : MIMG_Atomic <mimgopc<0x12, 0x13, 0x12>, "image_atomic_sub">;
+defm IMAGE_ATOMIC_RSUB          : MIMG_Atomic <mimgopc<MIMG.NOP, MIMG.NOP, 0x13>, "image_atomic_rsub">;
+defm IMAGE_ATOMIC_SMIN          : MIMG_Atomic <mimgopc<0x14>, "image_atomic_smin">;
----------------
foad wrote:
> Needs asm/dis tests?
I have added asm tests.
There are no disassembly tests for GFX7, and I do not think this is the right time to add them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96309/new/

https://reviews.llvm.org/D96309



More information about the llvm-commits mailing list