Instruction
TILELOADD
Loads a tile from memory, row by row, with the row stride taken from the index register of its SIB-encoded address.
TILELOADD fills a tile row by row from memory. Its memory operand must use a SIB byte, and the parts of the address play different roles: the base register plus displacement is the address of the first row, and the index register, shifted by the scale, is the distance between rows (the stride). Without an index register the stride is zero. Each row reads as many bytes as the tile’s configured row width, and bytes and rows beyond the configured shape are zeroed.
The load is restartable. If a fault interrupts it, the tile configuration’s start_row field records the next row, and the instruction resumes there after the fault is handled. TILELOADDT1 is the same load with a hint that the data will be reused but need not stay in the nearest caches, and TILESTORED is the matching store.
In the optimization guide
What the optimization guide says about TILELOADD, 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. - Vectors, AVX-512 and AMX: A tile load cannot take its data from stores still in the store buffer: it waits until they reach the cache.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
TILELOADD tmm, sibmem 64-bit mode only
TILELOADD_TMMu32_MEMu32 | VEX.LZ.F2.0F38.W0 4B /r | AMX_TILE |
TILELOADD tmm, sibmem
TILELOADD_TMMu32_MEMu32_APX | EVEX.LLZ.F2.0F38.W0 4B /r | APX_F + AMX_TILE |
Latency and throughput
| Model | tmm, sibmem |
|---|---|
| Sapphire Rapids | 100 / 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 has no loads
if not tmm1.rows or tmm1.colsb % 4: # left out, or not whole dwords
fault(UD)
if start_row >= tmm1.rows:
fault(UD)
if xfd >> 18 & 1: # the OS keeps the tiles from
fault(NM) # this thread
a = mem.address # row 0: base + displacement
s = mem.stride # index * scale, 0 without one
n = tmm1.colsb
for r in range(start_row, tmm1.rows):
tmm1.row[r] = load(a + r * s, 8 * n)
start_row = 0
# a fault in row r leaves the rows before it loaded and start_row
# = r, where the instruction goes on when it runs again
# tmm1 is zeroed past its rows, and the rows loaded past colsbNot run on a processor: none of these processors has AMX.
Operands
| Operand | Kind | Action |
|---|---|---|
TILELOADD tmm, sibmem 64-bit mode only | ||
tmm | explicit | write |
sibmem | explicit | read |
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.
- VEX forms
AMX-E3- EVEX forms
AMX-E3-EVEX
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 TILELOADD, 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.
| Intrinsic | Compiles to |
|---|---|
_tile_loadd
void _tile_loadd(const int dst, const void *base, __SIZE_TYPE__ stride) |
|
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.
| ISA set | CPUID | Processors |
|---|---|---|
AMX_TILE | AMX_TILE | Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids |
APX_F_AMX | APX_F + AMX_TILE | Diamond Rapids |
More AMX-TILE instructions
More APX instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model. - 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. - LLVM 23.1.2's x86 scheduling models (commit
85ac56026243): the latency, reciprocal throughput and ports of each form, as llvm-mca reports them. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-724 (TILELOADD/
TILELOADDT1) - Intel Advanced Performance Extensions (Intel APX) Architecture Specification, revision 9.0 (355828-009, August 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.