0.pre7.129:
[sbcl.git] / src / compiler / x86 / parms.lisp
index 81718ef..d776400 100644 (file)
 \f
 ;;;; machine architecture parameters
 
-(defconstant 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 (/ 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 (/ 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)
 
   (+ (byte-size single-float-significand-byte) 1))
 
 (defconstant double-float-digits
-  (+ (byte-size double-float-significand-byte) word-bits 1))
+  (+ (byte-size double-float-significand-byte) n-word-bits 1))
 
 (defconstant long-float-digits
-  (+ (byte-size long-float-significand-byte) word-bits 1))
+  (+ (byte-size long-float-significand-byte) n-word-bits 1))
 
 ;;; pfw -- from i486 microprocessor programmer's reference manual
 (defconstant float-invalid-trap-bit       (ash 1 0))
   error
   cerror
   breakpoint
-  function-end-breakpoint
+  fun-end-breakpoint
   single-step-breakpoint)
 ;;; FIXME: It'd be nice to replace all the DEFENUMs with something like
 ;;;   (WITH-DEF-ENUM (:START 8)
 (defenum (:prefix trace-table-)
   normal
   call-site
-  function-prologue
-  function-epilogue)
+  fun-prologue
+  fun-epilogue)
 \f
 ;;;; static symbols
 
     *current-catch-block*
     *current-unwind-protect-block*
     *eval-stack-top*
-    sb!vm::*alien-stack*
+    *alien-stack*
 
     ;; interrupt handling
     *pseudo-atomic-atomic*
     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-0s0*
+    *fp-constant-1s0*
     ;; 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.
     ;; 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--