Patch for PPC 4xx soft float primitives

Xavier Miville xmiville@oerlikon.ca
Fri Mar 5 19:45:00 GMT 2004


Hi, I've made a patch for GCC using soft-float primitives for PPC 4xx
taken from the IBM PowerPC Performance Libraries Project
(http://www-124.ibm.com/developerworks/projects/ppcperflib/).

The project is licensed with BSD License terms, so I don't know the
chances of this patch being merged into the GCC project.

It replaces the soft float emulation of GCC used for PPC targets. I did
not run the GCC regression tests and I'm still working on this. But I
did ran some of the IEEE 754 floating-point tests (i.e. paranoia) on a
GCC 3.3.2 crosstool-0.25 generated toolchain for 405 and everything
seemed fine. I do not have access to a 440 right now, but I've modified
the config.gcc file so it applies to both 405 and 440.

You can expect an average 300% performance gain for float ops

-- 
Xavier Miville
xmiville@oerlikon.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc3.3.2-ibmfpopt-4xx.patch
Type: text/x-patch
Size: 269024 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20040305/6326e5aa/attachment.bin>
-------------- next part --------------
------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


More information about the crossgcc mailing list