Re: Use of floating point in the kernel

From: Andi Kleen
Date: Wed Jan 07 2004 - 23:14:00 EST


Dave Jones <davej@xxxxxxxxxx> writes:

> On Wed, Jan 07, 2004 at 07:34:06PM -0800, H. Peter Anvin wrote:
>
> > Has anyone considered asking the gcc people to add an -fno-fpu (or
> > -mno-fpu) option, throwing an error if any FP instructions are used?
>
> building with -msoft-float gets you this.

I think they will need an -fno-fpu option for the kernel at some point
anyways. As soon as gcc starts using SSE2 registers for integer
operations on SSE2 targets. My impression is that this point isn't
that far away anymore.

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