CPUID
RTM
CPUID.(EAX=07H,ECX=0):EBX[11]
Instructions
4 mnemonics
Processors
Haswell, Broadwell, Skylake, Comet Lake, Cannon Lake, Ice Lake (client), Tiger Lake, Skylake-SP, Cascade Lake, Cooper Lake, Ice Lake (server), Sapphire Rapids, Emerald Rapids, Granite Rapids, Diamond Rapids

Restricted Transactional Memory runs a region of code as a transaction. XBEGIN starts it and names a fallback address; the region’s stores stay invisible to other cores until XEND commits them all at once. If another core touches the same data, the transaction runs out of resources, or the code executes XABORT or an instruction that always aborts, the processor discards everything the region did and jumps to the fallback address with the reason in EAX. XTEST tells whether code is running in a transaction.

The fallback path usually takes a lock, so RTM speeds up locking where threads rarely conflict. Intel’s manual defines a CPUID bit, RTM_ALWAYS_ABORT, for processors on which every XBEGIN aborts at once; software must work that way too. TSXLDTRK extends RTM.

Instructions

Mnemonics with at least one form in RTM. Each page lists all forms of the mnemonic, including those of other extensions.
MnemonicSummaryForms
XABORTAborts an RTM transaction, discarding its effects and resuming at the XBEGIN fallback with an 8-bit reason code in EAX.1
XBEGINStarts an RTM transaction; if it aborts, its effects are rolled back and execution goes to the fallback address, with the reason in EAX.1
XENDCommits an RTM transaction, making all of its memory updates visible at once.1
XTESTClears ZF inside an RTM or HLE transaction and sets it outside one.1

CPUID and processors

XED splits RTM 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.

XED ISA sets of RTM. 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.

Sources

  1. Intel XED v2026.08.23 (commit 0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model.
  2. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026)
  3. Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 1 (253665-093, September 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.