]> git.lizzy.rs Git - plan9front.git/commit
keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format
authorcinap_lenrek <cinap_lenrek@gmx.de>
Sun, 26 May 2013 20:41:40 +0000 (22:41 +0200)
committercinap_lenrek <cinap_lenrek@gmx.de>
Sun, 26 May 2013 20:41:40 +0000 (22:41 +0200)
commit257c7e958ef125ec12cc218519ce56f767eb112d
tree815353b334a8f22f1a6f771fd58c0f27a140bfc9
parent7aea1204b9843842827302a3eb58752333daf918
keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format

we now always use the new FXSAVE format in FPsave structure and fpregs
file, converting back and forth in fpx87save() and fpx87restore().

document that fprestore() is a destructive operation now.

change fp register definition in libmach and adapt fpr() acid funciton.

avoid unneccesary copy of fpstate and fpsave in sysfork(). functions
including syscalls do not preserve the fp registers and copying fpstate
from the current process would mean we had to fpsave(&up->fpsave); first.
simply not doing it, new process starts in FPinit state.
sys/lib/acid/386
sys/src/9/pc/dat.h
sys/src/9/pc/fns.h
sys/src/9/pc/l.s
sys/src/9/pc/main.c
sys/src/9/port/sysproc.c
sys/src/libmach/8.c