[llvm-bugs] [Bug 46421] New: [AMDGPU][MC][GFX10] An out-of-range MTBUF 'format' modifier does not trigger an error

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 22 07:35:08 PDT 2020


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

            Bug ID: 46421
           Summary: [AMDGPU][MC][GFX10] An out-of-range MTBUF 'format'
                    modifier does not trigger an error
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            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

This modifier should specify a 7-bit unsigned value however any 8-bit value is
accepted.

An example of a failed test:

    tbuffer_store_format_x v0, v1, s[0:3], format:255, 0 idxen

This code is assembled without errors and results in the same encoding as
produced for the following valid opcode:

    tbuffer_store_format_x v0, v1, s[0:3], format:127, 0 idxen

-- 
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/20200622/33b234c1/attachment-0001.html>


More information about the llvm-bugs mailing list