X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fparms.lisp;h=4e4461e18c00246dadaf68d4abb74ad2b5145946;hb=e73a30c901ab234291aefc9f1e73507650628892;hp=0b7ae337ca970d3e7d9aa223bd2404177d7205da;hpb=d767105094f5836327f9389b061f83a44240a279;p=sbcl.git diff --git a/src/compiler/sparc/parms.lisp b/src/compiler/sparc/parms.lisp index 0b7ae33..4e4461e 100644 --- a/src/compiler/sparc/parms.lisp +++ b/src/compiler/sparc/parms.lisp @@ -16,6 +16,10 @@ #!+sb-doc "Number of bits per word where a word holds one lisp descriptor.") +;;; the natural width of a machine word (as seen in e.g. register width, +;;; address space) +(def!constant n-machine-word-bits 32) + (def!constant n-byte-bits 8 #!+sb-doc "Number of bits per byte where a byte is the smallest addressable object.") @@ -28,18 +32,6 @@ #!+sb-doc "Number of bytes in a word.") -(def!constant n-fixnum-tag-bits (1- n-lowtag-bits) - #!+sb-doc - "Number of tag bits used for a fixnum") - -(def!constant fixnum-tag-mask (1- (ash 1 n-fixnum-tag-bits)) - #!+sb-doc - "Mask to get the fixnum tag") - -(def!constant n-positive-fixnum-bits (- n-word-bits n-fixnum-tag-bits 1) - #!+sb-doc - "Maximum number of bits in a positive fixnum") - (def!constant float-sign-shift 31) (def!constant single-float-bias 126) @@ -136,13 +128,7 @@ (def!constant dynamic-0-space-end #x38000000) (def!constant dynamic-1-space-start #x40000000) - (def!constant dynamic-1-space-end #x48000000) - - (def!constant control-stack-start #x50000000) - (def!constant control-stack-end #x51000000) - - (def!constant binding-stack-start #x60000000) - (def!constant binding-stack-end #x61000000)) + (def!constant dynamic-1-space-end #x48000000)) #!+sunos ; might as well start by trying the same numbers (progn @@ -201,7 +187,7 @@ sb!impl::*!initial-fdefn-objects* ;; functions that the C code needs to call - maybe-gc + sub-gc sb!kernel::internal-error sb!kernel::control-stack-exhausted-error sb!di::handle-breakpoint @@ -230,7 +216,7 @@ '(length two-arg-+ two-arg-- two-arg-* two-arg-/ two-arg-< two-arg-> two-arg-= two-arg-<= two-arg->= two-arg-/= eql %negate - two-arg-and two-arg-ior two-arg-xor + two-arg-and two-arg-ior two-arg-xor two-arg-eqv two-arg-gcd two-arg-lcm ))