[llvm-bugs] [Bug 43484] New: [AMDGPU][MC][GFX10][WS32] Incorrect disassembly of v_cmp_*_sdwa opcodes

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 27 09:12:52 PDT 2019


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

            Bug ID: 43484
           Summary: [AMDGPU][MC][GFX10][WS32] Incorrect disassembly of
                    v_cmp_*_sdwa opcodes
           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 are decoded incorrectly in wavesize=32 mode. dst size is
invalid. An example:

    0xf9,0x04,0x1e,0x7d,0x01,0xfb,0x06,0x06

Should be decoded as follows:

    v_cmp_class_f16_sdwa ttmp15, v1, v2 src0_sel:DWORD src1_sel:DWORD

Actual result:

    v_cmp_class_f16_sdwa ttmp[14:15], v1, v2 src0_sel:DWORD src1_sel:DWORD

-- 
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/20190927/ca925859/attachment.html>


More information about the llvm-bugs mailing list