Extensions
Forms
1 (1 VEX)
Data
Intel XED v2026.08.23

TDPBSSD is the signed-byte matrix multiply of AMX: C += A × B on three tiles. Each dword of A and B holds four signed bytes, so A is M rows of K dwords, B is K rows of N dwords, and C is M rows of N 32-bit sums. Element C[m][n] gains the dot product of row m of A with column n of B, taken four bytes at a time. With full tiles of 16 rows of 64 bytes, one instruction makes 16 × 16 sums of 64 products each. B must therefore hold four consecutive rows of its matrix packed into each dword, as the AMX-INT8 page shows. The other sign combinations are TDPBSUD, TDPBUSD and TDPBUUD, the letter after TDPB giving A’s type; VPDPBSSD does the same arithmetic in a vector register.

Shapes, checked

The dimensions come from the tile configuration that LDTILECFG loaded, and the instruction raises #UD rather than compute when they do not fit: the three tiles must be different registers, C and A must have as many rows, A’s dwords per row must equal B’s rows, B and C must have rows of the same width, in whole dwords, and no tile may be one the configuration leaves out. Without a configuration it raises #UD too. It raises #NM while bit 18 of the IA32_XFD MSR is set, which lets an operating system give the 8 KiB of tile data only to the threads that use it (AMX tiles in the ABIs).

Sums that wrap

Each sum is a 32-bit integer that wraps on overflow; AMX has no saturating form. A product is at most 16384 (-128 × -128), so a full tile adds at most 2^20 to an element: from zero, an accumulator takes 2047 such instructions without any risk of overflow.

In compiled code

With -mamx-int8, GCC 14 and Clang 23 at -O2 compile _tile_dpbssd(0, 1, 2), whose arguments are constant tile numbers, to tdpbssd tmm0, tmm1, tmm2; the program builds the 64-byte configuration itself and loads it with _tile_loadconfig. Clang 23 also has a tile type, __tile1024i, that carries its shape: given three of them and __tile_dpbssd(&c, a, b) in a loop, it chose the registers, wrote the configuration on the stack, ran LDTILECFG before the loop and TILERELEASE before returning. GCC 14 has no such type.

In the optimization guide

What the optimization guide says about TDPBSSD, a line per claim. Each links to the claim in the guide, with its sources and where they differ.

Golden Cove and Raptor Cove

  • Vectors, AVX-512 and AMX: On Sapphire and Emerald Rapids, a tile multiplication (tdp*) can start every 16 cycles and takes 52; a tile load every 8, taking 45; and loading the tile configuration takes about 204 cycles, worth doing once rather than in every call.

Forms

Every encoding of TDPBSSD that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
TDPBSSD tmm, tmm, tmm 64-bit mode only TDPBSSD_TMMi32_TMM4i8_TMM4i8VEX.LZ.F2.0F38.W0 5E /rAMX_INT8 (leaf 1EH) or AMX_TILE + AMX_INT8

Latency and throughput

What the scheduling models of LLVM 23.1.2 give for each form, not measurements: latency / reciprocal throughput in cycles, the ports under them. A row is a model, or models that agree; a dash, a form that its processors lack. Memory forms: latency from the address, ports without the load and store units. Which processors each model covers.
Modeltmm, tmm, tmm
Sapphire Rapids100 / 0.25p0156

Operation

What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.

on = xcr0 if cr4 >> 18 & 1 else 0    # XCR0, where CR4.OSXSAVE is set
if on >> 17 & 3 != 3:                # TILECFG and TILEDATA
    fault(UD)
if palette != 1:                     # 0: no tiles configured; ACE's
    fault(UD)                        # palette 2 multiplies no tiles
t = tmm1.number                      # three different tiles
if t == tmm2.number or t == tmm3.number:
    fault(UD)
if tmm2.number == tmm3.number:
    fault(UD)
if 0 in (tmm1.rows, tmm2.rows, tmm3.rows):
    fault(UD)                        # one TILECFG leaves out
if tmm1.colsb % 4 or tmm2.colsb % 4:
    fault(UD)                        # rows of whole dwords
if tmm2.rows != tmm1.rows:           # A: M rows, as C
    fault(UD)
if tmm2.colsb // 4 != tmm3.rows:     # A: K dwords, B: K rows
    fault(UD)
if tmm3.colsb != tmm1.colsb:         # B: N dwords, as C
    fault(UD)
# K and N within the TMUL unit's 16 and 64 bytes (CPUID leaf
# 1EH): true of every tile of palette 1
if xfd >> 18 & 1:                    # the OS keeps the tiles from
    fault(NM)                        # this thread
for m in range(tmm1.rows):
    x = tmm2.row[m]                  # row m of A
    for n in range(tmm1.colsb // 4):
        s = tmm1.row[m].d[n]
        for k in range(tmm2.colsb // 4):
            y = tmm3.row[k]          # row k of B
            for j in range(4):
                a = x.sb[4 * k + j]
                s += a * y.sb[4 * n + j]
        tmm1.row[m].d[n] = s         # modulo 2^32
start_row = 0
# tmm1 is zeroed past its rows and colsb

Not run on a processor: none of these processors has AMX.

Operands

What each form reads and writes, as Intel XED records it: the operands of its syntax, in order, and the implicit ones that the syntax does not name. How to read.
OperandKindAction
TDPBSSD tmm, tmm, tmm 64-bit mode only
tmmexplicitread, write
tmmexplicitread
tmmexplicitread

Flags

None: XED records no flag that the forms test or change.

Exceptions

The exception class is XED's name for the set of exception conditions that a form follows. How to read.

All forms
AMX-E4

Attributes

What else XED records about the forms. How to read.

All forms
may abort a TSX transaction

Intrinsics

The C intrinsics of Clang 23.1.2 that compile to TDPBSSD, each with the form it compiles to and the Clang options it needs. The forms come from compiling every intrinsic and decoding the result with Intel XED; all intrinsics A–Z explains the method.

IntrinsicCompiles to
_tile_dpbssd void _tile_dpbssd(const int dst, const int src0, const int src1)

TDPBSSD tmm, tmm, tmm VEX.LZ -mamx-tile -mamx-int8

CPUID and processors

Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.

CPUID requirements and processors of the XED ISA sets above. Alternatives are separated by “or”; processors follow XED’s chip model, whose AMD processors end with Zen 2, and the CPU data of this site for Zen 3 to Zen 6.
ISA setCPUIDProcessors
AMX_INT8

AMX_INT8 (leaf 1EH)
CPUID.(EAX=1EH,ECX=1):EAX[0] AMX_INT8 (leaf 1EH)

or

AMX_TILE + AMX_INT8
CPUID.(EAX=07H,ECX=0):EDX[24] AMX_TILE
CPUID.(EAX=07H,ECX=0):EDX[25] AMX_INT8

Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids

More AMX-INT8 instructions

Sources

  1. Intel XED v2026.08.23 (commit 0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model.
  2. Clang's x86 intrinsic headers, LLVM 23.1.2 (commit 85ac56026243): the intrinsics, their signatures and doc comments, and the Clang of that release, which compiled each of them.
  3. LLVM 23.1.2's x86 scheduling models (commit 85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them.
  4. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-717 (TDPBSSD/TDPBSUD/TDPBUSD/TDPBUUD)
  5. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 2026)
  6. Intel Architecture Instruction Set Extensions and Future Features Programming Reference (319433-062, 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 intrinsics and their signatures come from Clang and the timings from LLVM's scheduling models, both part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.