exp GPU Native ISA AMD Vector
Export
Export graphics data to the next stage of the render pipeline. The target and up to four channels of data are specified as operands.
Also written as
export.
AMD's machine-readable ISA specification lists this name for the same instruction.
Encoding
Operands
-
TGT
Written. N/A Data format: Value can be anything. (OPR_TGT, FMT_ANY) -
VSRC0
Read. N/A Data format: Value can be anything. (OPR_VGPR, FMT_ANY) -
VSRC1
Read. N/A Data format: Value can be anything. (OPR_VGPR, FMT_ANY) -
VSRC2
Read. N/A Data format: Value can be anything. (OPR_VGPR, FMT_ANY) -
VSRC3
Read. N/A Data format: Value can be anything. (OPR_VGPR, FMT_ANY)
In AMD's order, as its machine-readable ISA specification lists them for the ENC_EXP encoding (AMD CDNA 1).
GFX Target Compatibility
Per-target GFX compatibility has not yet been verified for this instruction.
Related
More in Export
Reference
Example
exp mrt0 v4, v3, v2, v1A real instruction accepted by the LLVM assembler, taken verbatim from LLVM's own AMDGPU MC test suite (exp.s). Not from an AMD document, and not authored here.
Sources
- AMD Machine-Readable GPU ISA Specification ↗ - Advanced Micro Devices, Inc.
- LLVM MC assembler tests for AMDGPU ↗ - LLVM Project