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. If the target implements
the Zihintpause extension, it indicates that the current hart should be
temporarily paused or slowed down.