Intel 64 and IA-32 Architectures Software Developers Manual Volume 2B, Instruction Set Reference, N-Z
Vol. 2B 4-359
INSTRUCTION SET REFERENCE, N-Z
Operation
IF CS.L ≠ 1 (* Not in 64-Bit Mode *)
THEN
#UD; FI;
IF CPL
≠ 0
THEN #GP(0); FI;
tmp ← GS(BASE);
GS(BASE) ← KERNELGSbase;
KERNELGSbase ← tmp;
Flags Affected
None
Protected Mode Exceptions
#UD If Mode ≠ 64-Bit
Real-Address Mode Exceptions
#UD Instruction not recognized.
Virtual-8086 Mode Exceptions
#UD Instruction not recognized.
Compatibility Mode Exceptions
Same exceptions as in Protected Mode.
64-Bit Mode Exceptions
#GP(0) If CPL ≠ 0.