RFA: Add a builtin define for when the floating point registers are not available

Aldy Hernandez aldyh@redhat.com
Sat May 21 07:02:00 GMT 2005


On Fri, May 20, 2005 at 04:23:43PM -0700, Geoff Keating wrote:
> 
> On 20/05/2005, at 11:10 AM, Aldy Hernandez wrote:
> 
> >Hi Nick.
> >
> >
> >>  This one adds the definition of a C preprocessor builtin called
> >>  __NO_FPRS__ if the floating point registers are not available.   
> >>This
> >>  is the default for the powerpc-eabispe port and can be triggered in
> >>  other powerpc ports via the use of the -msoft-float or the
> >>  -mfloat-gprs=no gcc command line switches.
> >>
> >
> >I'll defer to either Geoff or David on this one, but...
> >
> >If we're going to add a builtin, it should be visible across the rest
> >of the PPC variants (Linux, etc), not just eabi.
> >
> >Geoff, David?
> 
> Yes, I agree; it's annoying to discover that one port has some really  
> useful macro, but not the one you're currently working on.

So, for the record... I agree with the idea; it's up to Geoff/Dave.



More information about the Gcc-patches mailing list