The constant is now at source operand 1 (previously at 2).
This is also how it is in legacy AMD sp3 assembler.
Update tests.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D17984
[AMDGPU] Assembler: change v_madmk operands to have same order as mad. ClosedPublic Authored by nhaustov on Mar 9 2016, 2:41 AM.
Details Summary The constant is now at source operand 1 (previously at 2).
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 10 2016, 6:38 PM Closed by commit rL263212: [AMDGPU] Assembler: change v_madmk operands to have same order as mad. (authored by nhaustov). · Explain WhyMar 11 2016, 1:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 50115 lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/VIInstructions.td
test/CodeGen/AMDGPU/madmk.ll
test/MC/AMDGPU/vop2.s
|