These built-in functions are available for the RISC-V family of processors.
void * __builtin_thread_pointer (void) ¶Returns the value that is currently set in the ‘tp’ register.
void __builtin_riscv_pause (void) ¶Generates the pause (hint) machine instruction. This implies the
Xgnuzihintpausestate extension, which redefines the pause instruction to
change architectural state.