Hi,
As I added the KPRCB I noticed the last field is called NpxSaveArea and
contains the last FPU/SSE state, iirc.
You might want to save it there...but what troubles me is that the KPRCB
is a CPU-wide structure, not thread-limited.
Best regards,
Alex Ionescu
Hartmut Birr wrote:
-----Original Message-----
From: ros-dev-bounces(a)reactos.com
[mailto:ros-dev-bounces@reactos.com] On Behalf Of Gregor Anich
Sent: Friday, October 08, 2004 7:50 PM
To: ReactOS Development List
Subject: Re: [ros-dev] Save FPU on task switch/SSE support
Hi again ;)
Do you have any idea where the SSE registers should be stored?
The thing with the flag for the FPU state is nice, since it allows to
skip saving of the FPU state when not needed - do you know if
we can do
the same for SSE?
Thanks,
blight
We can do the same for sse. If sse is available we must use fxsave/fxrstor
instead of fsave/frstor and the buffer is 512 byte (108 byte for normal
fpu).
- Hartmut
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.com
http://reactos.com:8080/mailman/listinfo/ros-dev