[llvm-bugs] [Bug 36932] New: [AMDGPU][MC] Incorrect disassembly of mtbuf instructions

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 28 04:43:01 PDT 2018


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

            Bug ID: 36932
           Summary: [AMDGPU][MC] Incorrect disassembly of mtbuf
                    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

when nfmt or dfmt are zero, disassembled code missed these operands but
semicolons are printed. This result is a code which cannot be reassembled.

An example:

  tbuffer_load_format_xyzw v[1:4], v5, s[4:7], dfmt:0, s1, offen

Correctly assembled to 

  0x00,0x90,0x01,0xe8,0x05,0x01,0x01,0x01

This code is disassembled to this:

  tbuffer_load_format_xyzw v[1:4], v5, s[4:7], , , s1 offen

-- 
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/20180328/7bc135b4/attachment.html>


More information about the llvm-bugs mailing list