From c0977a00c1d0d888074ac6de88103de02ad262c8 Mon Sep 17 00:00:00 2001 From: nyan Date: Mon, 5 Jun 2006 11:53:36 +0000 Subject: MFi386: revisions 1.627, 1.628 and 1.629. --- sys/pc98/pc98/machdep.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys') diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 6554fc6..5a686ad 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -2540,6 +2540,10 @@ set_fpcontext(struct thread *td, const mcontext_t *mcp) bcopy(&mcp->mc_fpstate, addr, sizeof(mcp->mc_fpstate)); } #ifdef DEV_NPX +#ifdef CPU_ENABLE_SSE + if (cpu_fxsr) + addr->sv_xmm.sv_env.en_mxcsr &= cpu_mxcsr_mask; +#endif /* * XXX we violate the dubious requirement that npxsetregs() * be called with interrupts disabled. -- cgit v1.1