This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC64 enable with-tls
- From: Jakub Jelinek <jakub at redhat dot com>
- To: sjmunroe at us dot ibm dot com
- Cc: Richard Henderson <rth at twiddle dot net>, libc-alpha at sources dot redhat dot com
- Date: Tue, 25 Feb 2003 20:10:08 +0100
- Subject: Re: [PATCH] PPC64 enable with-tls
- References: <3E5BBEFD.4030408@vnet.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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