ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

AMD VOP3P_MFMA

T1 amd-gpu encoding_format encoding_format
AMD GPU 64-bit Binary Microcode Format: VOP3P_MFMA
SourceAMD Official Machine-Readable GPU ISA XMLs (RDNA & CDNA) (amd_gpu_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeCDNA1, CDNA2, CDNA3, CDNA4
AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
License & VersionAMD GPUOpen / MIT (isa_spec_manager)
2026-official
Upstreamhttps://gpuopen.com/machine-readable-isa/

Summary

Official AMD 64-bit instruction encoding format VOP3P_MFMA across CDNA1, CDNA2, CDNA3, CDNA4.

Syntax / Encoding

VOP3P_MFMA (64b) mask=0x00000000ffff0000 match=0x00000000d3c00000

Binary Encodings (1)

WidthFormatBit PatternMask / Match
64VOP3P_MFMAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101001111000000xxxxxxxxxxxxxxxx0x00000000ffff0000 / 0x00000000d3c00000

Bitfields (11)

BitsFieldDescription
63:61BLGPBLGP control the Matrix B input swizzling, 16 lanes are one group and swizzling are between those 4 groups.
60:59ACCACC field, specifies whether srcA, srcB use an accumulator VGPR.
58:50SRC2Third operand for instruction.
49:41SRC1Second operand for instruction.
40:32SRC0First operand for instruction.
31:23ENCODINGEncoding.
22:16OPOpcode.
15ACC_CDACC field, specifies whether srcC, VDST use an accumulator VGPR.
14:11ABIDCBSZ and ABID are for A matrix swizzling, it is independent with BLGP, and with much more fine grain level control.
10:8CBSZCBSZ and ABID are for A matrix swizzling, it is independent with BLGP, and with much more fine grain level control.
7:0VDSTDestination for instruction.