Re: [RFC/PATCH] Make powerpc64 use __thread for per-cpu variables

Segher Boessenkool
2006-05-11T23:41:42Z

>> Would an asm clobber of GPR13 in the schedule routines (or a wrapper
>> for them, or whatever) work?
>
> No. The address is cse'd symbolically long before the r13
> reference is exposed.

Current GCC won't ever do that over a (non-local, non-inlinable)
function call though. _Current_ GCC.

Segher