System
RDPRU
RDPRU lets programs read the MPERF and APERF counters, which measure the processor's effective frequency, without a system call.
An AMD extension: Intel processors do not have this instruction.
- CPUID
- RDPRU
CPUID.80000008H:EBX[4] - Instructions
- 1 mnemonic
- Processors
- Zen 2, Zen 3, Zen 4, Zen 5, Zen 6
- Linux flag
rdpru
Instructions
| Mnemonic | Summary | Forms |
|---|---|---|
| RDPRU | Reads the processor register that ECX selects, MPERF or APERF, into EDX:EAX, at any privilege level unless CR4.TSD is set. | 1 |
CPUID and processors
XED splits RDPRU 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.
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, 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. - AMD64 Architecture Programmer's Manual, Volume 3: General-Purpose and System Instructions (24594, rev. 3.38, July 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.