Re: Disabling FPU, MMX, SSE units?

Randy.Dunlap (rddunlap@osdl.org)
Fri, 23 Nov 2001 19:53:20 -0800


"Maciej W. Rozycki" wrote:
>
> On Wed, 21 Nov 2001, Pavel Machek wrote:
>
> > Is there way not to let linux use FPU, MMX, SSE and similar fancy
> > units? I have athlon processor, but would like to turn FPU (and
> > similar fancy stuff) off...
>
> You may use "no387" to disable FPU and MMX (they are controlled by a
> single bit in cr0). No idea about SSE.

Looks to me like another candidate for the setup/bugs/cpuid
processor-type splitting/cleanup that DaveJ et al have mentioned
[for 2.5 ?].

include/asm-i386/bugs.h is the only header file in linux/ that
contains^W hides __setup() parameters, and that's bad IMO.

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