mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Disabling FPU, MMX, SSE units?
@ 2001-11-21 21:05 Pavel Machek
  2001-11-22 11:02 ` Maciej W. Rozycki
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2001-11-21 21:05 UTC (permalink / raw)
  To: kernel list

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.
-- 
<sig in construction>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Disabling FPU, MMX, SSE units?
  2001-11-21 21:05 Disabling FPU, MMX, SSE units? Pavel Machek
@ 2001-11-22 11:02 ` Maciej W. Rozycki
  2001-11-22 12:38   ` Rasmus Bøg Hansen
  2001-11-24  3:53   ` Randy.Dunlap
  0 siblings, 2 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 2001-11-22 11:02 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list

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.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Disabling FPU, MMX, SSE units?
  2001-11-22 11:02 ` Maciej W. Rozycki
@ 2001-11-22 12:38   ` Rasmus Bøg Hansen
  2001-11-24  3:53   ` Randy.Dunlap
  1 sibling, 0 replies; 5+ messages in thread
From: Rasmus Bøg Hansen @ 2001-11-22 12:38 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Pavel Machek, kernel list

On Thu, 22 Nov 2001, 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.

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

Rasmus

-- 
-- [ 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 ] --


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Disabling FPU, MMX, SSE units?
  2001-11-22 11:02 ` Maciej W. Rozycki
  2001-11-22 12:38   ` Rasmus Bøg Hansen
@ 2001-11-24  3:53   ` Randy.Dunlap
  1 sibling, 0 replies; 5+ messages in thread
From: Randy.Dunlap @ 2001-11-24  3:53 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Pavel Machek, kernel list

"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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Disabling FPU, MMX, SSE units?
@ 2001-11-23  6:57 Zwane Mwaikambo
  0 siblings, 0 replies; 5+ messages in thread
From: Zwane Mwaikambo @ 2001-11-23  6:57 UTC (permalink / raw)
  To: pavel; +Cc: macro, Linux Kernel

You can't disable MMX/SSE because its used to optimise, if you don't want
to use SSE/MMX select a non-SSE/MMX cpu in the kernel config, that way
you'll lose those assembly optimisations. If you want to impare your CPU
even more (as seems the case) consider using 486 as a CPU target and perhaps also
cripple your cpu caches (ie set bit 0x1E (CD) in cr0).


Cheers,
	Zwane Mwaikambo



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-11-24  3:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-21 21:05 Disabling FPU, MMX, SSE units? Pavel Machek
2001-11-22 11:02 ` Maciej W. Rozycki
2001-11-22 12:38   ` Rasmus Bøg Hansen
2001-11-24  3:53   ` Randy.Dunlap
2001-11-23  6:57 Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®