blob: ff26624efc328a647f65d9a64b90d1e9f1bf577a [file] [log] [blame]
static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ ("ori %0, r21, 0" : "=r" (tp) );
return tp;
}
#define MC_PC regs.pc