RDPID
Read Processor ID
stableVMJITAOTinstruction
Encodings
| Opcode | Instruction | Op/En | 64-bit | Compat/Legacy | Description |
|---|---|---|---|---|---|
F3 0F C7 /7 | RDPID r32 | R | Not encodable | Valid | Read IA32_TSC_AUX into r32. |
F3 0F C7 /7 | RDPID r64 Op/En Operand 1 R ModRM:r/m (w) | R | Valid | Not encodable | Read IA32_TSC_AUX into r64. Instruction Operand E ncoding1 Operand 2 Operand 3 Operand 4 N/A N/A N/A |
Operand encoding
Each mode is a value of the Op/En column above. It says which field of the encoded instruction carries each operand, in the order they are written, and whether the instruction reads it, writes it or both.
R
modrm.rmescrituraModRM byte, r/m field (bits 2-0); with the SIB byte and the displacement when the mod field asks for them
Measured cost
Loading measurements from arch-data...
Description
Reads the value of the IA32_TSC_AUX MSR (address C0000103H) into the destination register. The value of CS.D and operand-size prefixes (66H and REX.W) do not affect the behavior of the RDPID instruction.
Operation
DEST := IA32_TSC_AUXFlags affected
None.
Exceptions
Protected mode
#UD | If the LOCK prefix is used. If CPUID.07H.00H:ECX.RDPID[22] = 0. |
Real address mode
| Same exceptions as in protected mode. |
Virtual-8086 mode
| Same exceptions as in protected mode. |
Compatibility mode
| Same exceptions as in protected mode. |
64-bit mode
| Same exceptions as in protected mode. |