Intel® C++ Compiler XE 13.1 User and Reference Guides

_readgsbase_u32(), _readgsbase_u64()

Read the value of the GS base register.

Syntax

extern unsigned int _readgsbase_u32();

extern unsigned int _readgsbase_u32();

Description

These intrinsics read the value of the GS base register. Both intrinsics are mapped to RDGSBASE instruction.

Returns

The value of the GS base segment register.


Submit feedback on this help topic