This is the mail archive of the gcc@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: powerpc targets, long double implementation, and c++ programs


	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


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