This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Powerpc64 long double support


Richard Sandiford <rsandifo@redhat.com> writes:

> Alan Modra <amodra@bigpond.net.au> writes:
>>> My only concern (in case it wasn't obvious ;) is that you don't
>>> change the behaviour for IRIX.
>>
>> Easy.  I can add this.
>>
>>   else if (!fmt->qnan_msb_set)
>>     {
>>       /* MIPS slavishly follows proprietary compilers, which use 0.0
>> 	 in the low word.  */
>>       buf[2] = 0;
>>       buf[3] = 0;
>>     }
>
> Sounds good, although the comment's a bit on the vitriolic side. ;)
> Surely the long double representation is as much a part of the ABI as
> any other data representation?  I.e., it's not that were doing something
> just because another compiler does it.  We're doing it because that's
> the platform ABI.

The sign bit might also be a don't-care at this point, in which case both
formats must be supported.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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