[ros-dev] RE: [ros-diffs] [CVS reactos] FPU/SSE state
savingontaskswitching, FPU and SSE exception support.
Hartmut Birr
hartmut.birr at gmx.de
Thu Nov 25 01:02:20 CET 2004
Hi,
with one little change, your patch works perfect on my smp machine. It must
be changed a 'movl' to a 'movb':
movb $NPX_STATE_VALID, KTHREAD_NPX_STATE(%ebx)
I've expand your test program a little bit. It works now with four threads.
- Hartmut
> -----Original Message-----
> From: ros-dev-bounces at reactos.com
> [mailto:ros-dev-bounces at reactos.com] On Behalf Of Gregor Anich
> Sent: Tuesday, November 23, 2004 9:56 PM
> To: ReactOS Development List
> Subject: Re: [ros-dev] RE: [ros-diffs] [CVS reactos] FPU/SSE
> state savingontaskswitching, FPU and SSE exception support.
>
>
> Hello again!
>
> Hartmut Birr wrote:
>
> >I've revert some parts of fpu.c to your first patch. It
> works now on my smp
> >machine.
> >
> >
> >
> I have attached a patch to this email, maybe you can try if it works
> with this patch. It is a patch against current reactos CVS.
>
> I didn't see diff which you attached to your mail the first
> time, but it
> looks like it's an old version of the fpu.c which I have modified...
> maybe it doesn't bugcheck but I think it won't work (unless you have
> also reverted tskswitch.S...)
>
> I have also attached a fputest program which tests wether the
> FPU state
> is preserved or not.
>
> - blight
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fputest.zip
Type: application/x-zip-compressed
Size: 1225 bytes
Desc: not available
Url : http://reactos.com:8080/pipermail/ros-dev/attachments/20041125/e0bcffe0/fputest.bin
More information about the Ros-dev
mailing list