v_smfmac_f32_16x16x32f16 GPU Native ISA AMD Matrix
Vector Packed Arithmetic
AMDGPU VOP3P matrix instruction operating on f32 data. (Format and name extracted from LLVM's AMDGPU backend source - semantics not yet curated.)
Also written as
v_smfmac_f32_16x16x32_f16.
AMD's machine-readable ISA specification lists this name for the same instruction.
Encoding
AMD's machine-readable ISA specification lists this instruction as
v_smfmac_f32_16x16x32_f16, which has its own page here.
The operands and layout below are from that entry.
The VOP3P_MFMA layout from AMD's machine-readable ISA specification (AMD CDNA 4). Opcode 98 in OP rebuilds 0x00000000D3E20000, an identifier AMD lists for this encoding. The same in AMD CDNA 3.
Operands
-
VDST
Written. N/A Data format: N/A (OPR_VGPR_OR_ACCVGPR, FMT_NUM_PK4_F32) -
SRC0
Read. N/A Data format: N/A (OPR_SRC_VGPR_OR_ACCVGPR, FMT_NUM_PK4_F16) -
SRC1
Read. N/A Data format: N/A (OPR_SRC_VGPR_OR_ACCVGPR, FMT_NUM_PK8_F16) -
SRC2
Read. N/A Data format: N/A (OPR_SRC_VGPR, FMT_NUM_B32)
In AMD's order, as its machine-readable ISA specification lists them for the VOP3P_MFMA encoding (AMD CDNA 4).
GFX Target Compatibility
Per-target GFX compatibility has not yet been verified for this instruction.
Related
More in Vector Packed Arithmetic
Reference
Sources
- User Guide for AMDGPU Backend ↗ - LLVM Project
- AMD Machine-Readable GPU ISA Specification ↗ - Advanced Micro Devices, Inc.