[llvm-bugs] [Bug 32927] New: [mc] Disassembler incorrectly appends "_e32" suffix to v_madak/v_madmk instructions

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 4 11:50:01 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: dpreobrazhensky at luxoft.com
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170504/ddb15ce3/attachment.html>


More information about the llvm-bugs mailing list