asm/reference

This content has not been validated; it was AI-generated following the x86-64 ISA Documentation generation process to maintain high quality. However, as no human has verified this data, errors may exist. If the accuracy of this data is critical, please consult the Intel SDM. The model used to generate this is gemma4:31b

INVPCID



Invalidates process-context identifiers (PCIDs) in the translation-lookaside buffer (TLB) based on the provided immediate value and the current state of CR4.PCID.

The following table specifies the supported source and destination operands.

source destination(s)
imm #I

DO NOT support LOCK

The instruction is only available if CR4.PCID is set to 1; otherwise, it may trigger an undefined operation (#UD) exception. It operates in both 64-bit mode and compatibility mode.

The immediate operand determines the scope of the invalidation:

Failure to set CR4.PCID before executing INVPCID WILL result in an #UD exception. When using immediate 1, the instruction affects all PCIDs, regardless of the current value in CR3.