Raymond Toy pushed to branch sparc64-dev at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/compiler/generic/objdef.lisp
    ... ... @@ -92,10 +92,12 @@
    92 92
     ); eval-when
    
    93 93
     
    
    94 94
     
    
    95
    -(defparameter target-most-positive-fixnum (1- (ash 1 #-amd64 29 #+amd64 61))
    
    95
    +(defparameter target-most-positive-fixnum
    
    96
    +  (1- (ash 1 #-(or amd64 sparc-64) 29 #+(or amd64 sparc-64) 61))
    
    96 97
       "most-positive-fixnum in the target architecture.")
    
    97 98
     
    
    98
    -(defparameter target-most-negative-fixnum (ash -1 #-amd64 29 #+amd64 61)
    
    99
    +(defparameter target-most-negative-fixnum
    
    100
    +  (ash -1 #-(or amd64 sparc-64) 29 #+(or amd64 sparc-64) 61)
    
    99 101
       "most-negative-fixnum in the target architecture.")
    
    100 102
     
    
    101 103
     
    
    ... ... @@ -202,7 +204,11 @@
    202 204
     (define-primitive-object (bignum :lowtag other-pointer-type
    
    203 205
     				 :header bignum-type
    
    204 206
     				 :alloc-trans bignum::%allocate-bignum)
    
    205
    -  (digits :rest-p t :c-type #-alpha "long" #+alpha "u32"))
    
    207
    +  (digits :rest-p t
    
    208
    +	  :c-type
    
    209
    +	  #-(or alpha sparc-v9) "long"
    
    210
    +	  #+alpha "u32"
    
    211
    +	  #+sparc-v9 "int"))
    
    206 212
     
    
    207 213
     (define-primitive-object (ratio :type ratio
    
    208 214
     				:lowtag other-pointer-type