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

TPAUSE is a timed PAUSE: it lets the core rest until the time-stamp counter reaches the deadline in EDX:EAX, with no monitored address involved. Where UMWAIT waits for a store to one location, TPAUSE suits a loop that polls something no monitor can watch, several flags or a device register, at a known interval; Intel’s optimization manual notes that it does not depend on how many sources of events there are (Section 3.13.1.3). Like UMWAIT it needs WAITPKG (CPUID leaf 07H, ECX bit 5) and runs at any privilege level.

Same rules as UMWAIT

The two share their operands and their limits, which the UMWAIT page describes in full:

  • the deadline is an absolute TSC value, so a program adds its delay to a fresh RDTSC reading;
  • bit 0 of the register operand chooses C0.1 (1, quicker to wake) or C0.2 (0, deeper, and better for the other hardware thread of the core); any other bit raises #GP;
  • the operating system’s cap in IA32_UMWAIT_CONTROL may end the wait first, and CF = 1 says so; OF, SF, ZF, AF and PF are cleared;
  • with CR4.TSD set it raises #GP outside ring 0.

An interrupt ends the wait even when IF is clear; execution then goes on after TPAUSE, and the interrupt is taken when IF allows. Other events may end it early too, so a TPAUSE loop rereads the TSC and what it polls instead of counting iterations.

Why not PAUSE

The PAUSE page shows how much one PAUSE’s delay varies between processors, so a loop of PAUSEs waits a different time on each. TPAUSE waits by the clock instead, and lets the core save power or give its resources to the other thread while it does. Intel’s optimization manual recommends UMWAIT, TPAUSE and PAUSE in place of active spinning on its hybrid processors, to give the scheduler better hints (Section 2.3.3).

_tpause(control, deadline) needs -mwaitpkg or an -march such as alderlake or sapphirerapids; GCC 14 and Clang 23 at -O2 emit TPAUSE and return CF with SETC or SETB. Its encoding, 66 0F AE /6, is CLWB’s with a register in place of the memory operand; without the 66, that register form is MFENCE. No AMD processor in this site’s data has WAITPKG, so Zen 5 recorded no cases.

In the optimization guide

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

Crestmont and Gracemont

  • Hybrid processors: Intel advises against pinning threads to cores and for waiting with UMWAIT, TPAUSE or PAUSE. sources differ

Golden Cove and Raptor Cove

  • Threads and hybrid parts: On Alder Lake and Raptor Lake, Thread Director tells the operating system how each thread would fare on either kind of core. sources differ
  • Threads and hybrid parts: Two AMX threads on one core, or an AMX thread beside another busy thread, slow each other down.

Tremont

Forms

Every encoding of TPAUSE that Intel XED knows, one row per XED instruction form (iform). How to read the notation.
InstructionEncodingRequires
TPAUSE r32 TPAUSE_GPR32u3266 0F AE /6WAITPKG

Operation

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

c = src.read()                   # bit 0: 1 for C0.1, which wakes
if c & ~1:                       # sooner; 0 for C0.2, which saves
    fault(GP, 0)                 # more, unless the OS forbids it
if CPL > 0 and cr4 >> 2 & 1:     # CR4.TSD, as for RDTSC
    fault(GP, 0)
t = edx << 32 | eax              # rests until the TSC reaches t or
                                 # an event comes
cf = os_timeout(t)               # 1 when the OS's limit came first
of = sf = zf = af = pf = 0

Not run on a processor: the Zen 5 guest that ran the probe does not report WAITPKG in CPUID.

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
TPAUSE r32
r32explicitread
EDXimplicitread
EAXimplicitread
RFLAGSimplicitwrite

Flags

M modified, 0 cleared; blank: not affected. How to read.
OFSFZFAFPFCF
All forms
00000M

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
WAITPKG

WAITPKG
CPUID.(EAX=07H,ECX=0):ECX[5] WAITPKG

Alder Lake, Arrow Lake, Panther Lake, Nova Lake, Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids, Snow Ridge, Sierra Forest, Clearwater Forest

More WAITPKG 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. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026): Volume 2B, page 4-729 (TPAUSE)
  3. Intel 64 and IA-32 Architectures Optimization Reference Manual, Volume 1 (248966-051, October 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.