lkml.org 
[lkml]   [1997]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Pentium emulation
>You have several PCs from 386 to Pentium (or Pentium II or whatever). You
>also have programs that should run on any of your PCs. This means you have
>to compile with the -m386 or -m486 option rather than optimizing for
>Pentium.
>Or you have a cool binary that has been compiled for Pentium but you want
>to try it on a 486...

>Couldn't the kernel provide emulation of the Pentium instructions for the
>386/486, to solve this problem? I guess it could be done since it would be
>very similar to the FPU emulator.

>So the question is mainly: Would it make sense?

No. Emulating a Pentium would make 386/486 CPUs extremely slow. If
you've got a mixture of CPUs then you're probably best off optimising for
486 (doesn't do any harm on a 386 and doesn't slow a Pentium down much) and
putting in 387 emulation for the machines that need it.

It works for me.

--
-----------------------------------------------------------
In return for "mailbag contention" errors from buggy Exchange
servers I'll set my mail server to refuse mail from your domain.
The same response applies when a message to a postmaster
account bounces.
"Russell Coker - mailing lists account" <bofh@snoopy.virtual.net.au>
-----------------------------------------------------------


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.154 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site