flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Easy FPU Initialization |
Author |
|
f0dder 23 Nov 2007, 04:29
Well, the complications of FPU init comes when you only want to save FPU task state per-thread if the FPU has actually been used... same goes for SSE registers.
You might also want to set up the FPU control word for rounding etc. |
|||
23 Nov 2007, 04:29 |
|
rhyno_dagreat 23 Nov 2007, 05:00
f0dder wrote: Well, the complications of FPU init comes when you only want to save FPU task state per-thread if the FPU has actually been used... same goes for SSE registers. Where does it mention that in the Intel Manuals or how can I do it? |
|||
23 Nov 2007, 05:00 |
|
edfed 23 Nov 2007, 05:23
nobody knows
seriouslly, it's surelly in the system programming manual section about all FPu, SSE. but for sure it's not in task managment, i know this section by heart and i never saw any FPU, SSE reference with task switch in fact, it's mostlly in the forums that you'll find how to do. but in FPU and SSE sections, they give the manner to save and restore FPU and SSE states. you just have to include this in a task switch then task switch needs to be limited to the periodic style. to switch with hardware, there are too many possibilities to make it easily reliable. jump, call, load a tss, interrupt,..., all these operations isues to a task switch so, invalidate hardware task switch and make one software. mans says that the software TS is faster, so why use the Hardware method? |
|||
23 Nov 2007, 05:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.