RDPID

Read Processor ID

Opcode/InstructionOp/En64/32-bit ModeCPUID Feature FlagDescription
F3 0F C7 /7 RDPID r32RN.E./VRDPIDRead IA32_TSC_AUX into r32.
F3 0F C7 /7 RDPID r64RV/N.E.RDPIDRead IA32_TSC_AUX into r64.

Instruction Operand Encoding1

1.ModRM.MOD = 011B required

Op/EnOperand 1Operand 2Operand 3Operand 4
RModRM:r/m (w)N/AN/AN/A

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_AUX

Flags Affected

None.

Protected Mode Exceptions

#​​​UDIf the LOCK prefix is used.
If CPUID.7H.0:ECX.RDPID[bit 22] = 0.

Real-Address Mode Exceptions

Same exceptions as in protected mode.

Virtual-8086 Mode Exceptions

Same exceptions as in protected mode.

Compatibility Mode Exceptions

Same exceptions as in protected mode.

64-Bit Mode Exceptions

Same exceptions as in protected mode.

This UNOFFICIAL, mechanically-separated, non-verified reference is provided for convenience, but it may be incomplete or broken in various obvious or non-obvious ways. Refer to Intel® 64 and IA-32 Architectures Software Developer’s Manual for anything serious.