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

Geoff Keating geoffk@geoffk.org
Fri May 20 23:26:00 GMT 2005


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2410 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050520/795e2157/attachment.p7s>


More information about the Gcc-patches mailing list