OSDN Git Service

[AMDGPU] Disassembler: fix for disaasembling v_mac_f32/16_dpp/sdwa
authorSam Kolton <Sam.Kolton@amd.com>
Thu, 22 Dec 2016 11:30:48 +0000 (11:30 +0000)
committerSam Kolton <Sam.Kolton@amd.com>
Thu, 22 Dec 2016 11:30:48 +0000 (11:30 +0000)
commitb94ac0f1d92033fbcc7fdcbdbc931c2713f2587f
tree04509d93bbe105921ede95ff65a24d081e7b53f5
parent64a0af292884ce2aff07b741cf47de4a43b7b51b
[AMDGPU] Disassembler: fix for disaasembling v_mac_f32/16_dpp/sdwa

Summary: Real instruction should copy constraints from real instruction. This allows auto-generated disassembler to correctly process tied operands.

Reviewers: nhaustov, vpykhtin, tstellarAMD

Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye

Differential Revision: https://reviews.llvm.org/D27847

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/VOP1Instructions.td
lib/Target/AMDGPU/VOP2Instructions.td
lib/Target/AMDGPU/VOPCInstructions.td
lib/Target/AMDGPU/VOPInstructions.td
test/MC/Disassembler/AMDGPU/dpp_vi.txt
test/MC/Disassembler/AMDGPU/sdwa_vi.txt