Memory, caches and atomics
PREFETCHI
Prefetches code rather than data, from a RIP-relative address, into the cache hierarchy.
- CPUID
- PREFETCHI
CPUID.(EAX=07H,ECX=1):EDX[14] - Instructions
- 2 mnemonics
- Processors
- Granite Rapids, Diamond Rapids, Clearwater Forest
PREFETCHIT0 and PREFETCHIT1 prefetch code rather than data: PREFETCHIT0 into all cache levels, PREFETCHIT1 into all but the first. They work only with a RIP-relative address in 64-bit mode and are NOPs otherwise, and the address should be the start of a real instruction, typically code that is about to run. Like all prefetches they are only hints.
Intel lists Granite Rapids, Clearwater Forest and Nova Lake as the first processors with PREFETCHI; XED’s chip model has Granite Rapids, Clearwater Forest and Diamond Rapids, but not Nova Lake.
Instructions
| Mnemonic | Summary | Forms |
|---|---|---|
| PREFETCHIT0 | Prefetches code at a RIP-relative address into all cache levels; a no-op without RIP-relative addressing or on older processors. | 1 |
| PREFETCHIT1 | Prefetches code at a RIP-relative address into every cache level but L1; a no-op without RIP-relative addressing or on older processors. | 1 |
CPUID and processors
XED splits PREFETCHI 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 |
|---|---|---|
ICACHE_PREFETCH | PREFETCHI | Granite Rapids, Diamond Rapids, Clearwater Forest |
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)
- 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 text is our own.