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:
parent
0163f8cb67
commit
261fe6f6c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159252
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user