This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Powerpc64 long double support
On Wed, Mar 10, 2004 at 12:06:57PM +0000, Richard Sandiford wrote:
> 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. ;)
Heh. It was meant to sting a little in a friendly way. Perhaps
/* MIPS uses +0.0 in the low word. */ would suit better? :)
> 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
--
Alan Modra
IBM OzLabs - Linux Technology Centre