|
[Sbcl-commits] CVS: sbcl/src/runtime x86-64-assem.S,1.19,1.20
From: Richard M Kreuter <kreuter@us...> - 2008-06-30 19:37
|
Update of /cvsroot/sbcl/sbcl/src/runtime In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv21139/src/runtime Modified Files: x86-64-assem.S Log Message: 1.0.18.9: Fix fpu_save, fpu_restore on x86-64. * Incorrect definition lead to segfault during gencgc when gencgc_verbose>1. Index: x86-64-assem.S =================================================================== RCS file: /cvsroot/sbcl/sbcl/src/runtime/x86-64-assem.S,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- x86-64-assem.S 15 May 2008 15:37:50 -0000 1.19 +++ x86-64-assem.S 30 Jun 2008 19:37:01 -0000 1.20 @@ -248,8 +248,7 @@ 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 @@ 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)) |
| Thread | Author | Date |
|---|---|---|
| [Sbcl-commits] CVS: sbcl/src/runtime x86-64-assem.S,1.19,1.20 | Richard M Kreuter <kreuter@us...> |