X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86-64%2Fparms.lisp;h=e5954c66e9de72042c094b22306be008c83a3bce;hb=673234cb910923d41badca51b383e3188f375691;hp=740c173cf971707ff8600ebe7c153392a3872fc2;hpb=ffde26c7766d109683ab73622b5b4294a3dd1c52;p=sbcl.git diff --git a/src/compiler/x86-64/parms.lisp b/src/compiler/x86-64/parms.lisp index 740c173..e5954c6 100644 --- a/src/compiler/x86-64/parms.lisp +++ b/src/compiler/x86-64/parms.lisp @@ -41,7 +41,7 @@ ;;; These values were taken from the alpha code. The values for ;;; bias and exponent min/max are not the same as shown in the 486 book. ;;; They may be correct for how Python uses them. -(def!constant single-float-bias 126) ; Intel says 127. +(def!constant single-float-bias 126) ; Intel says 127. (defconstant-eqx single-float-exponent-byte (byte 8 23) #'equalp) (defconstant-eqx single-float-significand-byte (byte 23 0) #'equalp) ;;; comment from CMU CL: @@ -67,12 +67,12 @@ (+ (byte-size double-float-significand-byte) 32 1)) ;;; from AMD64 Architecture manual -(def!constant float-invalid-trap-bit (ash 1 0)) +(def!constant float-invalid-trap-bit (ash 1 0)) (def!constant float-denormal-trap-bit (ash 1 1)) (def!constant float-divide-by-zero-trap-bit (ash 1 2)) (def!constant float-overflow-trap-bit (ash 1 3)) (def!constant float-underflow-trap-bit (ash 1 4)) -(def!constant float-inexact-trap-bit (ash 1 5)) +(def!constant float-inexact-trap-bit (ash 1 5)) (def!constant float-round-to-nearest 0) (def!constant float-round-to-negative 1) @@ -168,13 +168,12 @@ sb!kernel::memory-fault-error sb!di::handle-breakpoint fdefinition-object - #!+sb-thread sb!thread::handle-thread-exit ;; free pointers - ;; + ;; ;; Note that these are FIXNUM word counts, not (as one might ;; expect) byte counts or SAPs. The reason seems to be that by - ;; representing them this way, we can avoid consing bignums. + ;; representing them this way, we can avoid consing bignums. ;; -- WHN 2000-10-02 *read-only-space-free-pointer* *static-space-free-pointer* @@ -191,9 +190,14 @@ sb!unix::*interrupts-enabled* sb!unix::*interrupt-pending* *free-interrupt-context-index* + *gc-inhibit* + #!+sb-thread *stop-for-gc-pending* + *gc-pending* + #!+sb-thread sb!thread::run-interruption *free-tls-index* - + *tls-index-lock* + *allocation-pointer* *binding-stack-pointer* *binding-stack-start* @@ -206,6 +210,9 @@ *fp-constant-0f0* *fp-constant-1f0* + ;; For GC-AND-SAVE + *restart-lisp-function* + ;; The ..SLOT-UNBOUND.. symbol is static in order to optimise the ;; common slot unbound check. ;;