This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Powerpc/trampline: consider __NO_FPRS__
- From: Sebastian Andrzej Siewior <sebastian at breakpoint dot cc>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: Andreas Schwab <schwab at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 18 Aug 2010 18:49:46 +0200
- Subject: Re: [PATCH] Powerpc/trampline: consider __NO_FPRS__
- References: <20100618083214.GB5851@Chamillionaire.breakpoint.cc><AANLkTimKnCKmuVc2yEHf0ZvDueNdDUMMPejznOOca7ud@mail.gmail.com><4C1BF73D.7060509@redhat.com><m3eig0li1u.fsf@hase.home><4C1F74D1.5030108@redhat.com>
* Ulrich Drepper | 2010-06-21 07:18:57 [-0700]:
>On 06/21/2010 04:51 AM, Andreas Schwab wrote:
>> How is that different from using __NO_FPRS__ directly?
>
>__NO_FPRS__ might not be set in all no-fpu situations. That's what this
>subit is all about.
__NO_FPRS__ is powerpc specific and is defined as soon as its target has
no dedicated floating point registers.
libffi & friends also depend on that macro. Another level of indirection
looks unnecessary but if you really prefer it I can send a patch.
Sebastian