[coyotos-dev] Issue with FXSAVE/FNSAVE

Christopher Nelson nadiasvertex at gmail.com
Tue Mar 13 17:04:42 CDT 2007


>
> Opinions? Should the implementation on older hardware simulate the
> FXSAVE-style save area?
>


What would you do in the future?  ie. Say another FP register set was added
or the FP register set was changed significantly in some way and they added
yet another FxxSAVE instruction?  Would you try to translate that into the
older format + some regs, or force a kernel version partition on the FPU
regs, or just update the bit?

IMHO, if the data is user-readable anyway, why not just save a bit saying
what format it uses, and then provide userland libraries that known how to
decode the various formats.  That way you have a stable API, but also have a
sort of future-proof roadmap.

-={C}=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.coyotos.org/pipermail/coyotos-dev/attachments/20070313/1f817da3/attachment.html 


More information about the coyotos-dev mailing list