[PATCH] PPC64 enable with-tls
Jakub Jelinek
jakub@redhat.com
Tue Feb 25 19:10:00 GMT 2003
On Tue, Feb 25, 2003 at 01:07:41PM -0600, Steven Munroe wrote:
> Richard Henderson writes
>
> > On Mon, Feb 24, 2003 at 05:06:48PM -0600, Steven Munroe wrote:
> > > I plan leave the other macros as is until ppc64 gets gcc support for
> > > __builtin_thread_pointer ...
> >
> > Huh? ppc64 uses general register 13 as its base.
> > You'll never ever need this builtin.
>
> OOPS following too close, and Alpha needs __builtin_thread_pointer because?
Alpha needs it because it doesn't have a thread register.
The "thread register" is a PAL call, ie. special assembly.
> It seems so does s390?
Yeah, neither s390 uses a general purpose register for "thread register",
but either the access register or two access registers merged together.
Jakub
More information about the Libc-alpha
mailing list