This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC64 enable with-tls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]