Alan Cox wrote:
> > The i386 way seems reasonable, IMHO. Have a configure option to enable
> > an FPU emulator. Panic upon boot if no FP hardware is available and no
> > emulator is compiled in.
> Its an interesting question whether it belongs in the kernel or libc.
> Discuss ;)
I favor the libc approach as it is faster.
Unfortunately I don't think glibc for MIPS can be configured with
--without-fp. I modified a patch to get glibc 2.0.6 working for no-fp config,
but it is not a clean one. Is anybody working on that for the latest glibc
> Also we missed a trick on the x86 and I want to fix that one day, which is
> to have an __fpu ELF segment so if you boot an FPU emu kernel on an fpu
> box you regain 47K
Ironically for MIPS you MUST have the FPU emulater when the CPU actually has a