X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fx86%2Fparms.lisp;h=37f44d56183eb97b3c51a80dedbee63328b91b40;hb=545fa4548b327804cf78afe38a2ecd94ced86162;hp=39f40e5783003214cea79c99bf98efba39b62271;hpb=3c65762b927af861c9c8bc416e4cbac9a14ec0c3;p=sbcl.git diff --git a/src/compiler/x86/parms.lisp b/src/compiler/x86/parms.lisp index 39f40e5..37f44d5 100644 --- a/src/compiler/x86/parms.lisp +++ b/src/compiler/x86/parms.lisp @@ -24,7 +24,7 @@ ;;;; machine architecture parameters -(defconstant word-bits 32 +(defconstant n-word-bits 32 #!+sb-doc "Number of bits per word where a word holds one lisp descriptor.") @@ -32,11 +32,11 @@ #!+sb-doc "Number of bits per byte where a byte is the smallest addressable object.") -(defconstant word-shift (1- (integer-length (/ word-bits byte-bits))) +(defconstant word-shift (1- (integer-length (/ n-word-bits byte-bits))) #!+sb-doc "Number of bits to shift between word addresses and byte addresses.") -(defconstant word-bytes (/ word-bits byte-bits) +(defconstant word-bytes (/ n-word-bits byte-bits) #!+sb-doc "Number of bytes in a word.") @@ -77,10 +77,10 @@ (+ (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))