summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/intel/ia32/ml/float.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/intel/ia32/ml/float.s b/usr/src/uts/intel/ia32/ml/float.s
index cfc134b219..73c1956054 100644
--- a/usr/src/uts/intel/ia32/ml/float.s
+++ b/usr/src/uts/intel/ia32/ml/float.s
@@ -337,7 +337,7 @@ fpnsave_ctxt(void *arg)
* (see notes above about "exception pointers")
* TODO: does it apply to any machine that uses xsave?
*/
- btw $7, FXSAVE_STATE_FSW(%rdi) /* Test saved ES bit */
+ btw $7, FXSAVE_STATE_FSW(%rsi) /* Test saved ES bit */
jnc 0f /* jump if ES = 0 */
fnclex /* clear pending x87 exceptions */
0: ffree %st(7) /* clear tag bit to remove possible stack overflow */