Re: MMX emulator ?

Sylvain Pion (Sylvain.Pion@sophia.inria.fr)
Fri, 19 Jun 1998 14:32:04 +0200


On Mon, Jun 15, 1998 at 05:34:36PM +0100, Alan Cox wrote:
> > I wondered whether there has been some thoughts about implementing an MMX
> > emulator...
>
> 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)

You mean I can have r/w access to the FP registers saved and restored by the
kernel (struct user_i387_struct) from user space (in the SIGILL handler) ?
I also need the same access to the other registers.
Can you please tell me how ?

-- 
Sylvain

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