[all-commits] [llvm/llvm-project] 7780cf: [AMDGPU][MC] Fix disassemble of image_gather4 with...

Jun Wang via All-commits all-commits at lists.llvm.org
Tue Nov 5 10:37:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7780cf01e2c6912684fae10d68f76d7d5a21d675
      https://github.com/llvm/llvm-project/commit/7780cf01e2c6912684fae10d68f76d7d5a21d675
  Author: Jun Wang <jwang86 at yahoo.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/test/MC/Disassembler/AMDGPU/gfx10_mimg.txt
    M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_mimg_features.txt
    M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vsample.txt
    M llvm/test/MC/Disassembler/AMDGPU/gfx8_mimg_features.txt

  Log Message:
  -----------
  [AMDGPU][MC] Fix disassemble of image_gather4 with d16 (#114609)

For GFX10+, image_gather4 instructions that have v[254:255] as dst reg
and the d16 bit on can be assembled correctly but the generated binary
fails to disassemble (e.g. image_gather4 v[254:255], v[1:2], s[8:15], s[12:15]
 dmask:0x8 dim:SQ_RSRC_IMG_2D d16).  This patch fixes this problem.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list