Re: Linux Kernel Floating Point Emulation and CORDIC

Matthew Wilcox (willy@thepuffingroup.com)
Fri, 24 Dec 1999 12:11:55 -0500


On Thu, Dec 23, 1999 at 08:50:47PM -0500, Brian Gerst wrote:
> I don't think it's worth the effort to rewrite and retest the FP
> emulation code. It is only needed on some 386 and 486 machines, as all
> pentiums and later always have built in FPUs. Nobody should be doing
> any serious number crunching on those old processors. Just my 2 cents
> though.

But not all the world is intel -- there is FP emulation code for Alpha,
ARM, MIPS, m68k, PPC and Sparc in the tree. However, I seem to remember
someone analysing the FP emulator (on ARM) and concluding that the
cost of emulating FP instructions was dominated by the trap handler
and instruction decode. So there's not much point in replacing the
algorithms with more efficient algorithms when it's not going to make
much difference.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/