Patch to use soft-fp instead of fp-bit on powerpc-linux

Mark Mitchell mark@codesourcery.com
Mon Apr 3 17:45:00 GMT 2006


Joseph S. Myers wrote:
> This patch makes powerpc*-*-linux* use soft-fp (from glibc, but under
> GPL+libgcc-exception instead of LGPL, as approved by RMS) as a better
> software floating-point library than fp-bit.c.  For more discussion of
> the issues involved and possible future projects see
> <http://gcc.gnu.org/wiki/Software%20floating%20point>.

> Tested with no regressions with cross-compilers to
> powerpc-ibm-linux-gnu, --with-cpu=440.  Further testing of the soft-fp
> code as discussed on the wiki page: paranoia and ucbtest have been
> used.  Also tested on powerpc64-unknown-linux-gnu that all libgcc
> multilibs build using the correct source files and with the code
> properly elided for the 64-bit multilib.  OK to commit to trunk?

Thank you for being patient.  The revised version of the patch (with
license notices adjusted) is OK for mainline, assuming no objections
within 48 hours.  It would be nice to have explicit sign-off from a
PowerPC maintainer on the PowerPC bits, although they certainly look
sensible.

Due to the conservative approach you took, the risk is largely confined
to "just" PowerPC GNU/Linux.  Like you, I would suggest that the PowerPC
maintainers consider enabling this code on other target systems as well.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list