This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Powerpc64 long double support
David Edelsohn <dje@watson.ibm.com> writes:
> I am interested to know exactly what instructions MIPSpro cc
> produces for the conversion from long double to double. For example, the
> following program:
>
> double
> ld2d (long double f)
> {
> return (double)f;
> }
>
> Something must be preserving the sign bit given the representation of -0
> displayed by the other sample program.
It just calls a library function (__dble_q). It would be tempting to
disassemble the standard library in order to find out what it does, but
I'm not certain what the licence restrictions are.
Richard