Added information on FIXNUM size.
authorHenry M. Wu <edu/mit/csail/zurich/mhwu>
Tue, 3 May 1988 01:09:33 +0000 (01:09 +0000)
committerHenry M. Wu <edu/mit/csail/zurich/mhwu>
Tue, 3 May 1988 01:09:33 +0000 (01:09 +0000)
v7/src/compiler/machines/bobcat/machin.scm

index 1d16e1151518529af16b07c39680c5c7c4928694..88214886dce7c3ce61764e46e8d1633936bd0fe0 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/machin.scm,v 4.6 1988/05/03 00:35:08 mhwu Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/bobcat/machin.scm,v 4.7 1988/05/03 01:09:33 mhwu Exp $
 
 Copyright (c) 1987 Massachusetts Institute of Technology
 
@@ -38,10 +38,13 @@ MIT in each case. |#
 \f;;; Size of words.  Some of the stuff in "assmd.scm" might want to
 ;;; come here.
 
+(define-integrable scheme-object-width 32)
 (define-integrable scheme-datum-width 24)
 (define-integrable scheme-type-width 8)
+(define maximum-unsigned-fixnum
+  (expt 2 scheme-datum-width))
 (define maximum-positive-fixnum
-  (-1+ (expt 2 (-1+ scheme-datum-width))))
+  (-1+ (quotient maximum-unsigned-fixnum 2)))
 
 (define-integrable (stack->memory-offset offset)
   offset)