1.0.18.9: Fix fpu_save, fpu_restore on x86-64.
authorRichard M Kreuter <kreuter@users.sourceforge.net>
Mon, 30 Jun 2008 19:37:01 +0000 (19:37 +0000)
committerRichard M Kreuter <kreuter@users.sourceforge.net>
Mon, 30 Jun 2008 19:37:01 +0000 (19:37 +0000)
* Incorrect definition lead to segfault during gencgc when gencgc_verbose>1.

src/runtime/x86-64-assem.S
version.lisp-expr

index af5db22..5f1ff8b 100644 (file)
@@ -248,8 +248,7 @@ LsingleValue:
        TYPE(GNAME(fpu_save))
        .align  2,0x90
 GNAME(fpu_save):
-       mov     4(%rsp),%rax
-       fnsave  (%rax)          # Save the NPX state. (resets NPX)
+       fnsave  (%rdi)          # Save the NPX state. (resets NPX)
        ret
        SIZE(GNAME(fpu_save))
 
@@ -257,8 +256,7 @@ GNAME(fpu_save):
        TYPE(GNAME(fpu_restore))
        .align  2,0x90
 GNAME(fpu_restore):
-       mov     4(%rsp),%rax
-       frstor  (%rax)          # Restore the NPX state.
+       frstor  (%rdi)          # Restore the NPX state.
        ret
        SIZE(GNAME(fpu_restore))
 \f
index e62abb2..6257d10 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.18.8"
+"1.0.18.9"