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


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.

Richard


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