diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-06-05 11:53:36 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-06-05 11:53:36 +0000 |
| commit | 261fe6f6c92da5574a44e5c1063ece6227b70ebb (patch) | |
| tree | 8241298f2f65e7f6ffb52283f53a748b0e2bbbd9 /sys/pc98 | |
| parent | 0163f8cb67336ca20467c812339dd66c839bab8a (diff) | |
Notes
Diffstat (limited to 'sys/pc98')
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 6554fc69dbb5..5a686ad3113a 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. |
