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
- Repository
- rL LLVM
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 50400 llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/trunk/lib/Target/AMDGPU/SIInstrInfo.td
llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
llvm/trunk/lib/Target/AMDGPU/VIInstructions.td
llvm/trunk/test/CodeGen/AMDGPU/madmk.ll
llvm/trunk/test/MC/AMDGPU/vop2.s
|