Matrix (AMX and ACE)
AMX-INT8
Tile matrix multiplication of 8-bit integers, signed or unsigned, accumulated into 32-bit integers.
- CPUID
- AMX_INT8 (leaf 1EH)
CPUID.(EAX=1EH,ECX=1):EAX[0]or AMX_TILE + AMX_INT8CPUID.(EAX=07H,ECX=0):EDX[24]CPUID.(EAX=07H,ECX=0):EDX[25] - Instructions
- 4 mnemonics
- Processors
- Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids
- Linux flag
amx_int8
AMX-INT8 adds the byte matrix multiplications, one instruction for each combination of signed and unsigned inputs: TDPBSSD, TDPBSUD, TDPBUSD and TDPBUUD.
Each computes C += A × B on three tiles. Every dword of A holds four consecutive bytes of one row of the matrix, and every dword of B holds the four matching bytes of one column, so B is stored with groups of four rows interleaved. For each element of C the instruction adds up the products of all those byte pairs along the row of A and the column of B and accumulates them in a 32-bit integer. With full 16 × 64-byte tiles, one instruction performs 16 × 16 × 64 = 16384 multiplications.
Instructions
| Mnemonic | Summary | Forms |
|---|---|---|
| TDPBSSD | Multiplies two tiles of signed bytes, four per dword, and accumulates each row-by-column dot product into a tile of 32-bit integers. | 1 |
| TDPBSUD | Multiplies a tile of signed bytes by a tile of unsigned bytes and accumulates each row-by-column dot product into a tile of 32-bit integers. | 1 |
| TDPBUSD | Multiplies a tile of unsigned bytes by a tile of signed bytes and accumulates each row-by-column dot product into a tile of 32-bit integers. | 1 |
| TDPBUUD | Multiplies two tiles of unsigned bytes, four per dword, and accumulates each row-by-column dot product into a tile of 32-bit integers. | 1 |
CPUID and processors
XED splits AMX-INT8 into 1 ISA set. Software can use a form when the processor reports every CPUID bit of one alternative of the form's ISA set.
| ISA set | CPUID | Processors in XED |
|---|---|---|
AMX_INT8 | AMX_INT8 (leaf 1EH) or AMX_TILE + AMX_INT8 | Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids |
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-092, June 2026)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The text is our own.