There are eight intrinsics that allow reading and writing the value of the FS base and GS base registers at all privilege levels and in 64-bit mode only.
These intrinsics are mapped to corresponding 3rd Generation Intel® Core™ Processor extension instructions.