Re: MMX emulator ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 15 Jun 1998 17:34:36 +0100 (BST)


> I wondered whether there has been some thoughts about implementing an MMX
> emulator in the kernel, something like the FPU emulator. It sounds like a
> good idea, because we could run MMX apps on processors that don't support it.
> But I'm not sure how easy it would be. Ideas ?

You can do it in userspace. The kernel FPU save/restore will be nice to you
for saving state. You can write a library that catches SIGILL and LD_PRELOAD
it. Keep it out of the kernel (btw I still think the FPU emulator belongs
in a library but thats a different and rather old saga)

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