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

            Bug ID: 33279
           Summary: [mc] V_*QSAD_PK_* to check that dest register is
                    different than any of the src
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Quote from [https://reviews.llvm.org/D33783]:

The V_MQSAD_PK_U16_U8, V_QSAD_PK_U16_U8, and V_MQSAD_U32_U8 take more than 1
pass in hardware. For these three instructions, the destination registers must
be different than all sources so that the first pass does not overwrite sources
for the following passes.

It seems that we have missed that check in the assembler.

Perhaps TestGen also needs to be updated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to