git: kernel: Don't store FPU status into the reserved area of fx

看板DFBSD_commit作者時間15年前 (2011/03/02 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 5524f0b4e61d20dc53f24613a3ad8af532824573 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Tue Mar 1 22:44:16 2011 +0800 kernel: Don't store FPU status into the reserved area of fxsave Since each time before the old sv_ex_sw is accessed, fnstsw() is always called, it no longer makes any sense to save the temporary in the reserved area for fxsave. And more important: saving the FPU status into fxsave area overwrites saved xmm register value. Summary of changes: sys/cpu/i386/include/npx.h | 4 ++-- sys/cpu/x86_64/include/npx.h | 4 ++-- sys/platform/pc32/i386/machdep.c | 4 ---- sys/platform/pc32/isa/npx.c | 20 +++----------------- sys/platform/pc64/x86_64/machdep.c | 4 ---- sys/platform/pc64/x86_64/npx.c | 13 ------------- sys/platform/vkernel/i386/cpu_regs.c | 4 ---- sys/platform/vkernel/i386/npx.c | 20 +++----------------- sys/platform/vkernel64/x86_64/cpu_regs.c | 4 ---- sys/platform/vkernel64/x86_64/npx.c | 13 ------------- 10 files changed, 10 insertions(+), 80 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5524f0b4e61d20dc53f24613a3ad8af532824573 -- DragonFly BSD source repository
文章代碼(AID): #1DRJHivV (DFBSD_commit)