Skip to contentSkip to conversation

Disabling FPU, MMX, SSE units?

DISCUSSION Pavel Machek 4 participants 4 messages Nov 22, 2001 – Nov 24, 2001

lore
Share & tools
lore
#0 lore raw

Hi!

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...
Pavel
PS: I'm trying to narrow down sigsegv-after-resume problem... Getting rid of fancy 486+ features would help me.

Signature · 1 line
<sig in construction>
#1 lore raw
Quoted 3 lines · Pavel Machek

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.

Signature · 3 lines
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: [email protected], PGP key available        +
#2 lore raw
Quoted 8 lines · Maciej W. Rozycki
Quoted 3 lines · Pavel Machek

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.

Running a kernel optimized for 386 should leave out MMX, SSE and similar fancy instrucion sets IIRC.

Rasmus

Signature · 6 lines
-- [ Rasmus 'Møffe' Bøg Hansen ] ---------------------------------------
DISCLAIMER: Microsoft, Windows, Windows 98, Bugs, Lacking features, IRQ
conflicts, System crashes, Non-functional multitasking, the Y2K problem
and the Blue Screen of Death are registered trademarks of
Microsoft, Corp., Redmond, USA.
--------------------------------- [ moffe at amagerkollegiet dot dk ] --
#3 lore raw
In reply to Maciej W. Rozycki
Quoted 9 lines · Maciej W. Rozycki
Quoted 3 lines · Pavel Machek

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