blob: 5f460b5f746bb4d22cf717baac0adc9bc256225b [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
void *get_tp()
{
return __builtin_thread_pointer ();
}
/* { dg-final { scan-assembler "mv\[ \t\]*\[at\]\[0-9\]+,tp" } } */