Intel® C++ Compiler XE 13.1 User and Reference Guides
Write the value to the GS base register.
_writegsbase_u32(int 32 val) |
extern void _writegsbase_u64(unsigned __int64 val); |
the value to be written to the GS base register
These intrinsics write the given value to the GS segment base register. Both intrinsics are mapped to WRGSBASE instruction.