This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc targets, long double implementation, and c++ programs
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Edmar Wienskoski <edmar at freescale dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 08 Sep 2006 15:18:09 -0400
- Subject: Re: powerpc targets, long double implementation, and c++ programs
- References: <4501BB90.4010101@freescale.com>
Soft-float implementation of long double support is in development
but not complete. Long double requires double precision registers, so it
only will work with e500 double. It also requires floating point
multiply-subtract (fmsub), which e500 double does not appear to
implement. This is why long double has been disabled for e500 by testing
for __NO_FPRS__. The soft-float support requires emulating fmsub, so it
might work on e500 as well at that point.
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01298.html is the
patch that disabled this. This was in response to PR 26607 reported by
you.
The __lttf2 references occur similarly because the cmptf2 pattern
checks for TARGET_FPRS. That could be relaxed for e500 double.
David