1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

MFi386: revisions 1.627, 1.628 and 1.629.

This commit is contained in:
Yoshihiro Takahashi 2006-06-05 11:53:36 +00:00
parent 0163f8cb67
commit 261fe6f6c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159252

View File

@ -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.