[llvm-bugs] [Bug 51723] New: [AMDGPU][MC][GFX10] MIMG gather4 opcodes failed to disassemble when d16 is specified

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 2 11:53:03 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51723

            Bug ID: 51723
           Summary: [AMDGPU][MC][GFX10] MIMG gather4 opcodes failed to
                    disassemble when d16 is specified
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: d-pre at mail.ru
                CC: llvm-bugs at lists.llvm.org

An example of failed test:

  0x08,0x08,0x00,0xf1,0x01,0xfe,0x62,0x80

Expected output:

  image_gather4 v[254:255], v[1:2], s[8:15], s[12:15] dmask:0x8
dim:SQ_RSRC_IMG_2D d16 

Actual result:

  s_add_u32 s98, s1, src_lds_direct ; encoding: [0x01,0xfe,0x62,0x80]

Note that instruction image_gather4 shown above is assembled fine with expected
encoding but this encoding cannot be disassembled.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210902/6439e624/attachment.html>


More information about the llvm-bugs mailing list