diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-05-22 18:41:46 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2017-05-22 18:42:20 +0000 |
commit | f901b05c40cf52c1c4dd9e6ee757b8bc8b90c310 (patch) | |
tree | 7c292bedc76dc31c1c9dbb32d3cccb62cd822cec /usr/src | |
parent | 2838eca9726781fd9e75a94257a39075d4d3f0ce (diff) | |
download | illumos-joyent-f901b05c40cf52c1c4dd9e6ee757b8bc8b90c310.tar.gz |
OS-6141 fix incorrect register usage in xsave_ctxt
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Approved by: Patrick Mooney <patrick.mooney@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/intel/ia32/ml/float.s | 2 |
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 */ |