ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

HMMA

T2 nvidia-gpu matrix insn
NVIDIA SASS Instruction: HMMA (OpHmma)
SourceNVIDIA Native SASS Ops & Hardware Latency Tables (Mesa Nouveau NAK) (mesa_nouveau_nak_sass)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeNVIDIA SASS SM50–SM120
NVIDIA Volta (SM70), Turing (SM75), Ampere (SM80/86), Ada (SM89), Hopper (SM90), Blackwell (SM100/SM120)
License & VersionMIT
mesa/main
Upstreamhttps://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/nouveau/compiler/nak
Privilegeuser
ExtensionsVolta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90), Blackwell (SM100/SM120)

Summary

NVIDIA native GPU SASS instruction HMMA (Mesa Nouveau NAK OpHmma). SM70+ opcode(s): 0x23c. Modifiers: mat_size. Supported across Volta/Turing (SM70–SM75), Ampere/Ada/Hopper (SM80–SM90), Blackwell (SM100/SM120).

Syntax / Encoding

HMMA dst, src_type, dst_type, srcs

Cross-Chip Latency & Throughput (3 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
NVIDIA Turing (SM75)14—1RedirectedHMMA_1688mesa_nouveau_nak_sass
NVIDIA Blackwell (SM100/SM120)19—1Hmmamesa_nouveau_nak_sass
NVIDIA Ampere/Ada (SM80/SM89)24—1MMA_2x_collectmesa_nouveau_nak_sass

Binary Encodings (1)

WidthFormatBit PatternMask / Match
128NVIDIA SM70+ 128-bit SASS0x00000FFF / 0x23c

Operands

NameDescription
dstNAK IR field `dst: Dst`
mat_sizeNAK IR field `mat_size: HmmaSize`
src_typeNAK IR field `src_type: FloatType`
dst_typeNAK IR field `dst_type: FloatType`
srcsNAK IR field `srcs: [Src; 3]`