[llvm-bugs] [Bug 33279] New: [mc] V_*QSAD_PK_* to check that dest register is different than any of the src

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 2 06:42:09 PDT 2017


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: dpreobrazhensky at luxoft.com
          Reporter: artem.tamazov at amd.com
                CC: andrey.kasaurov at gmail.com, artem.tamazov at amd.com,
                    llvm-bugs at lists.llvm.org, Matthew.Arsenault at amd.com,
                    nikolay.haustov at amd.com, sam.kolton at amd.com,
                    valery.pykhtin at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170602/025ded70/attachment.html>


More information about the llvm-bugs mailing list