X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fx86%2Fparms.lisp;h=a9b972718656d11a49bd291183f21cf5c49263e9;hb=bc46c8bcdd6ac8918df8ea9e9db49808e4924fcf;hp=37f44d56183eb97b3c51a80dedbee63328b91b40;hpb=545fa4548b327804cf78afe38a2ecd94ced86162;p=sbcl.git diff --git a/src/compiler/x86/parms.lisp b/src/compiler/x86/parms.lisp index 37f44d5..a9b9727 100644 --- a/src/compiler/x86/parms.lisp +++ b/src/compiler/x86/parms.lisp @@ -24,21 +24,18 @@ ;;;; machine architecture parameters -(defconstant n-word-bits 32 - #!+sb-doc - "Number of bits per word where a word holds one lisp descriptor.") +;;; the number of bits per word, where a word holds one lisp descriptor +(defconstant n-word-bits 32) -(defconstant byte-bits 8 - #!+sb-doc - "Number of bits per byte where a byte is the smallest addressable object.") +;;; the number of bits per byte, where a byte is the smallest +;;; addressable object +(defconstant n-byte-bits 8) -(defconstant word-shift (1- (integer-length (/ n-word-bits byte-bits))) - #!+sb-doc - "Number of bits to shift between word addresses and byte addresses.") +;;; the number of bits to shift between word addresses and byte addresses +(defconstant word-shift (1- (integer-length (/ n-word-bits n-byte-bits)))) -(defconstant word-bytes (/ n-word-bits byte-bits) - #!+sb-doc - "Number of bytes in a word.") +;;; the number of bytes in a word +(defconstant n-word-bytes (/ n-word-bits n-byte-bits)) (defconstant float-sign-shift 31) @@ -168,14 +165,14 @@ (defconstant binding-stack-end #x3ffff000) (defconstant control-stack-start - #+freebsd #x40000000 - #+openbsd #x48000000) + #!+freebsd #x40000000 + #!+openbsd #x48000000) (defconstant control-stack-end - #+freebsd #x47fff000 - #+openbsd #x4ffff000) + #!+freebsd #x47fff000 + #!+openbsd #x4ffff000) (defconstant dynamic-space-start - #+freebsd #x48000000 - #+openbsd #x50000000) + #!+freebsd #x48000000 + #!+openbsd #x50000000) (defconstant dynamic-space-end #x88000000)) ;;; Given that NIL is the first thing allocated in static space, we @@ -207,8 +204,8 @@ (defenum (:prefix trace-table-) normal call-site - function-prologue - function-epilogue) + fun-prologue + fun-epilogue) ;;;; static symbols @@ -254,8 +251,7 @@ ;; things needed for non-local exit *current-catch-block* *current-unwind-protect-block* - *eval-stack-top* - sb!vm::*alien-stack* + *alien-stack* ;; interrupt handling *pseudo-atomic-atomic* @@ -264,23 +260,23 @@ sb!unix::*interrupt-pending* *free-interrupt-context-index* - sb!vm::*allocation-pointer* - sb!vm::*binding-stack-pointer* - sb!vm::*internal-gc-trigger* ; Not used. + *allocation-pointer* + *binding-stack-pointer* + *internal-gc-trigger* ; Not used. ;; the floating point constants - sb!vm::*fp-constant-0d0* - sb!vm::*fp-constant-1d0* - sb!vm::*fp-constant-0s0* - sb!vm::*fp-constant-1s0* + *fp-constant-0d0* + *fp-constant-1d0* + *fp-constant-0f0* + *fp-constant-1f0* ;; The following are all long-floats. - sb!vm::*fp-constant-0l0* - sb!vm::*fp-constant-1l0* - sb!vm::*fp-constant-pi* - sb!vm::*fp-constant-l2t* - sb!vm::*fp-constant-l2e* - sb!vm::*fp-constant-lg2* - sb!vm::*fp-constant-ln2* + *fp-constant-0l0* + *fp-constant-1l0* + *fp-constant-pi* + *fp-constant-l2t* + *fp-constant-l2e* + *fp-constant-lg2* + *fp-constant-ln2* ;; The ..SLOT-UNBOUND.. symbol is static in order to optimise the ;; common slot unbound check. @@ -290,7 +286,7 @@ ;; the ordinary unbound marker for this. sb!pcl::..slot-unbound..)) -(defparameter *static-functions* +(defparameter *static-funs* '(length sb!kernel:two-arg-+ sb!kernel:two-arg--