[llvm-bugs] [Bug 39331] New: [AMDGPU][MC][GFX8+] Disassembled s_set_gpr_idx_on, s_set_gpr_idx_mode cannot be reassembled

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 16 12:19:02 PDT 2018


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

            Bug ID: 39331
           Summary: [AMDGPU][MC][GFX8+] Disassembled s_set_gpr_idx_on,
                    s_set_gpr_idx_mode cannot be reassembled
           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

These instructions have a 16-bit immediate operand which may be specified as an
integer, for example:

    s_set_gpr_idx_on s0, 15

When this code is assembled and then reassembled, the result is the following
code:

    s_set_gpr_idx_on s0, dst src0 src1 src2

However assembler does not accept this syntax, so the code cannot be assembled.

Also I'm not sure this is a good syntax; this should be discussed.

-- 
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/20181016/8200d71a/attachment.html>


More information about the llvm-bugs mailing list