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

            Bug ID: 32927
           Summary: [mc] Disassembler incorrectly appends "_e32" suffix to
                    v_madak/v_madmk instructions
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

v_madak/v_madmk instructions cannot be promoted to VOP3, so "_e32" suffix
should not be used.

Examples of failed tests:

0x80,0x04,0x0a,0x4a,0x21,0x11,0x00,0x00
0x80,0x04,0x0a,0x30,0x41,0x31,0x21,0x11
0x80,0x06,0x0a,0x48,0x21,0x11,0x00,0x00
0x80,0x06,0x0a,0x2e,0x41,0x31,0x21,0x11

Disassembled as

v_madak_f16_e32 v5, 0, v2, 0x1121
v_madak_f32_e32 v5, 0, v2, 0x11213141
v_madmk_f16_e32 v5, 0, 0x1121, v3
v_madmk_f32_e32 v5, 0, 0x11213141, v3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to