lkml.org 
[lkml]   [1998]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MMX emulator ?


On Tue, 16 Jun 1998, Jeffrey Hundstad wrote:

> On 16 Jun, linker@nightshade.ml.org wrote:
> > Wouldn't it be better for all if apps:
> >
> > i = detect_MMMX();
> > if !i then usenormalstuff=1;
> > else usemmx=1;
> >
> > then had code for both cases???
>
> no....

Definitely no.

> If you can assume the MMX functions are there then EACH application
> doesn't have to emulate all of the MMX stuff itself if it doesn't have
> the REAL hardware.
>
> This should be treated EXACTLY like the Floating Point hardware... at
> least in my opinion.

100% agreement.

It's just like OpenGL: you can assume it's all there, and what
can be accelerated, will be accelerated.

But I think you can do your MMX emulation in userspace, with a
SIGILL handler, and maybe some libc mods.

BTW: why isn't the FPU emulation in userspace? Surely it's not
for performance reasons!


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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