lkml.org 
[lkml]   [1998]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MMX emulator ?
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

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