[all-commits] [llvm/llvm-project] e5b0b4: [AMDGPU] Refactor MIMG tables to better handle har...

Carl Ritson via All-commits all-commits at lists.llvm.org
Wed Feb 10 20:23:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5b0b434f60aa825509df542402e771fd56826eb
      https://github.com/llvm/llvm-project/commit/e5b0b434f60aa825509df542402e771fd56826eb
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/test/MC/AMDGPU/gfx10_asm_mimg.s
    M llvm/test/MC/AMDGPU/gfx7_asm_mimg.s
    M llvm/test/MC/Disassembler/AMDGPU/gfx10_mimg.txt

  Log Message:
  -----------
  [AMDGPU] Refactor MIMG tables to better handle hardware variants

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

Reviewed By: foad, rampitec

Differential Revision: https://reviews.llvm.org/D96309




More information about the All-commits mailing list