Kernel Math Emulation vs. -msoft-float and -nfp

Brian Kuschak bkuschak at
Sat Oct 30 13:02:56 EST 1999

> i cannot find any math-emu lib for ppc. does
> linuxppc have one? there is 
> a dir called math-emu in the arch/i386 and
> arch/sparc64 while arch/ppc
> not.

There is a math emulator in the 2.3.18 kernel.  I'm
using it on an 823 with some success.  I'm not sure if
the kernel does any FP ops, but the bash shell
definitely does.  These instructions generate
exceptions that the math-emu catches.

Hope that helps,


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list