Instruction
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.
- Extensions
- Forms
- 1 (1 Legacy)
- Data
- Intel XED v2026.08.23
PREFETCHIT1 asks the processor to fetch the cache line of code that holds a byte into the instruction-cache levels from the second level on, leaving the first-level cache out, ahead of a jump or call to it. It is the IT1 hint of the pair that PREFETCHIT0 describes, and the code counterpart of PREFETCHT1: 0F 18 with 6 in the ModRM reg field, a hint that changes no register, flag or memory and never faults. Like PREFETCHIT0 it acts only in 64-bit mode with a RIP-relative address and is a no-op otherwise and on processors that lack it (CPUID leaf 7 subleaf 1 EDX bit 14), so it needs no CPUID check. AMD’s guide for Zen 5 gives it the same levels as Intel’s entry: every instruction cache level but the L1 (Table 8).
In compiled code
At -O2 with -mprefetchi, _m_prefetchit1(f) for a function f
defined in the same file becomes prefetchit1 f[rip] in GCC 14 and
Clang 23. For an external function GCC drops it with a warning, and
Clang, in position-independent code, loads the address from the GOT and
emits the register form, which is a no-op. AMD’s Zen 5 latency
spreadsheet lists it as microcoded, with PREFETCHIT0.
In the optimization guide
What the optimization guide says about PREFETCHIT1, a line per claim. Each links to the claim in the guide, with its sources and where they differ.
Redwood Cove
- Front end: Granite Rapids, not Meteor Lake, adds PREFETCHIT0 and PREFETCHIT1, which fetch code ahead of a jump to it: the first into every cache level, the second into all but the L1.
Forms
| Instruction | Encoding | Requires |
|---|---|---|
PREFETCHIT1 m8
PREFETCHIT1_MEMu8 | 0F 18 /6 | PREFETCHI |
Operation
What the forms do, in pseudocode that our tests run against results recorded on real processors. How to read.
pass # IT1: code, into every level but the
# first
# only with a RIP-relative address, rip + disp32; otherwise, and on
# a processor without PREFETCHI, 0F 18 /6 is a hint NOPNot run on a processor: the Zen 5 guest that ran the probe does not report PREFETCHI in CPUID.
Operands
| Operand | Kind | Action |
|---|---|---|
PREFETCHIT1 m8 | ||
m8 | explicit | read |
Flags
None: XED records no flag that the forms test or change.
Attributes
What else XED records about the forms. How to read.
- All forms
- memory operand only names cache lines
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to PREFETCHIT1, 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 |
|---|---|
_m_prefetchit1
void _m_prefetchit1(const volatile void *__P) |
|
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 |
|---|---|---|
ICACHE_PREFETCH | PREFETCHI | Granite Rapids, Diamond Rapids, Clearwater Forest, Zen 5, Zen 6 Note: XED's Nova Lake lacks PREFETCHIT0 and PREFETCHIT1, which GCC's -march=novalake enables and Intel's extensions reference lists for Nova Lake. Note: Zen 5 and Zen 6 report PREFETCHIT0 and PREFETCHIT1 in CPUID_Fn80000021_EAX[PREFETCHI] (bit 20), a bit of AMD's own, and leave Intel's bit, CPUID.(EAX=07H,ECX=1):EDX[14], clear. |
More PREFETCHI instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, operands, flags, exception classes, attributes, ISA sets, CPUID bits and chip model. - The CPU data of x86-64.net: Zen 3 to Zen 6, from GCC’s
-marchfeature sets and AMD’s Processor Programming References, which the page of each processor cites. - 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. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-414 (PREFETCHh)
- Software Optimization Guide for the AMD Zen5 Microarchitecture (58455, rev. 1.00, August 2024), Wayback Machine copy of AMD's ZIP
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, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.