[llvm-bugs] [Bug 33279] New: [mc] V_*QSAD_PK_* to check that dest register is different than any of the src
llvm-bugs at lists.llvm.org
Fri Jun 2 06:42:09 PDT 2017
Bug ID: 33279
Summary: [mc] V_*QSAD_PK_* to check that dest register is
different than any of the src
OS: Windows NT
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...
More information about the llvm-bugs