On Jan 6, 2008, at 12:07 PM, Benjamin Herrenschmidt wrote:
It's nice to see somebody digging in that scary math emu stuff. If you
could also get rid of the warnings, it would be perfect :-)
Yes, it is :-) I didn't think it would have a life beyond MPC8xx.
.... that this code was lifted from
somewhere else (glibc ? gcc soft-float ?),
It seems like a lifetime ago.... I copied the framework
from Sparc, and the internals from gcc soft-float. I didn't
change any of the internal emulation functions (hence,
some of the warnings), just the calling interface.
While it's convenient, I still don't think kernel float
emulation should be a solution. The tools should
generate soft-float for the applications and libraries.
Thanks.
-- Dan