Mark Mitchell wrote:
That message contains an IEEE floating-point emulation library, like
fp-bit.c.  Howeve, the performance is considerably better; Joseph
measured against fp-bit.c with a modern compiler, and ieeelib.c is about
10-15% better than the current code on EEMBC on a PowerPC 440.

For the record, there is also FP emulation code in the gdb simulator. See the gdb src/sim/commom/sim-fpu.c file. This code was originally taken from gcc's fp-bit.c, and has since been significantly improved both for speed and accuracy. It is quite a bit better than what we have in fp-bit.c. This is another option worth investigating. I don't know how it compares to the glibc code or Torbjorn's code.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to