X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fparms.lisp;h=4e4461e18c00246dadaf68d4abb74ad2b5145946;hb=e0697854ef9f4999c8585b64be1b282ce4725176;hp=ab3adf12a7fe31f64e2d8178229d07a450a5c0ec;hpb=c81c32ef8a737b0cc61d3c0c6a137cab39baac73;p=sbcl.git diff --git a/src/compiler/sparc/parms.lisp b/src/compiler/sparc/parms.lisp index ab3adf1..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 @@ -159,13 +145,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)) ;;;; other random constants. @@ -207,8 +187,9 @@ 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 sb!di::handle-fun-end-breakpoint @@ -221,6 +202,10 @@ *current-catch-block* *current-unwind-protect-block* + *binding-stack-start* + *control-stack-start* + *control-stack-end* + ;; interrupt handling *free-interrupt-context-index* sb!unix::*interrupts-enabled* @@ -231,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 ))