1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-06 18:29:47 +00:00
Bruce Evans bd1a3f1a7e Fixed a panic caused by over-optimizing npxdrop() in the non-FXSR case.
frstor can trap despite it being a control instruction, since it bogusly
checks for pending exceptions in the state that it is overwriting.
This used to be a non-problem because frstor was always paired with a
previous fnsave, and fnsave does an implicit fninit so any pending
exceptions only remain live in the saved state.  Now frstor is sometimes
paired with npxdrop() and we must do a little more than just forget
that the npx was used in npxdrop() to avoid a trap later.  This is a
non-problem in the FXSR case because fxrstor doesn't do the bogus check.

FXSR is part of SSE, and npxdrop() is only in FreeBSD-5.x, so this bug
only affected old machines running FreeBSD-5.x.

PR:		68058
2004-06-18 02:10:55 +00:00
..
2004-06-17 17:52:12 +00:00
2004-06-17 17:16:53 +00:00
2004-06-17 17:16:53 +00:00
2004-06-17 17:16:53 +00:00
2004-06-14 00:38:54 +00:00
2004-05-18 05:30:06 +00:00
2004-06-16 09:47:26 +00:00
2004-06-16 09:47:26 +00:00
2004-06-16 09:47:26 +00:00
2004-05-14 12:28:31 +00:00
2004-06-17 17:16:53 +00:00
2004-01-25 17:18:12 +00:00
2004-06-16 14:21:52 +00:00
2004-06-16 09:47:26 +00:00
2004-06-16 09:47:26 +00:00
2004-06-17 17:16:53 +00:00