Support for SDWA instructions for VOP1 and VOP2 encoding.
Not done yet:
- converters for support optional operands and modifiers
- VOPC
- sext() modifier
- intrinsics
- VOP2b (see vop_dpp.s)
- V_MAC_F32 (see vop_dpp.s)
Paths
| Differential D19360
[AMDGPU] Assembler: basic support for SDWA instructions ClosedPublic Authored by SamWot on Apr 21 2016, 5:16 AM.
Details Summary Support for SDWA instructions for VOP1 and VOP2 encoding.
Diff Detail Event TimelineSamWot updated this object. SamWot added a parent revision: D19317: [AMDGPU] Assembler: prevent parseDPPCtrlOps from eating invalid tokens.
This revision is now accepted and ready to land.Apr 25 2016, 6:29 AM Closed by commit rL267553: [AMDGPU] Assembler: basic support for SDWA instructions (authored by skolton). · Explain WhyApr 26 2016, 6:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 54488 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h
lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp
lib/Target/AMDGPU/SIDefines.h
lib/Target/AMDGPU/SIInstrFormats.td
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/VIInstrFormats.td
test/MC/AMDGPU/vop_sdwa.s
|
Please use registers different from v0 to make sure it is visible in the encoding.