#| -*-Scheme-*-
-$Id: machin.scm,v 1.2 1993/06/10 01:06:33 jawilson Exp $
+$Id: machin.scm,v 1.3 1993/06/29 22:28:16 gjr Exp $
-Copyright (c) 1992 Massachusetts Institute of Technology
+Copyright (c) 1992-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
;;; rethink the character addressing strategy.
(define address-units-per-object "ADDRESS_UNITS_PER_OBJECT")
-
+(define-integrable address-units-per-float "ADDRESS_UNITS_PER_FLOAT")
(define-integrable address-units-per-packed-char 1)
;; We expect a C long to be at least 32 bits wide,
true)
(define compiler:primitives-with-no-open-coding
- '(DIVIDE-FIXNUM GCD-FIXNUM &/ FLONUM-SIN FLONUM-COS FLONUM-TAN FLONUM-ASIN FLONUM-ACOS
+ '(
+ DIVIDE-FIXNUM GCD-FIXNUM &/ FLONUM-SIN FLONUM-COS FLONUM-TAN
+ FLONUM-ASIN FLONUM-ACOS
FLONUM-ATAN FLONUM-EXP FLONUM-LOG FLONUM-TRUNCATE FLONUM-ROUND
- FLONUM-REMAINDER FLONUM-SQRT))
+ FLONUM-REMAINDER FLONUM-SQRT
+ VECTOR-CONS STRING-ALLOCATE FLOATING-VECTOR-CONS
+ FLOATING-VECTOR-REF FLOATING-VECTOR-SET!))
#| -*-Scheme-*-
-$Id: machin.scm,v 1.16 1993/01/08 00:04:22 cph Exp $
+$Id: machin.scm,v 1.17 1993/06/29 22:25:12 gjr Exp $
-Copyright (c) 1992-93 Massachusetts Institute of Technology
+Copyright (c) 1992-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define-integrable scheme-datum-width
(- scheme-object-width scheme-type-width))
-(define-integrable flonum-size 2)
+(define-integrable float-width 64)
(define-integrable float-alignment 32)
+(define-integrable address-units-per-float
+ (quotient float-width addressing-granularity))
+
;;; It is currently required that both packed characters and objects
;;; be integrable numbers of address units. Furthermore, the number
;;; of address units per object must be an integral multiple of the
FLONUM-ASIN FLONUM-ACOS
;; Disabled for now. The F2XM1 instruction is
;; broken on the 387 (or at least some of them).
- FLONUM-EXP))
\ No newline at end of file
+ FLONUM-EXP
+ VECTOR-CONS STRING-ALLOCATE FLOATING-VECTOR-CONS
+ FLOATING-VECTOR-REF FLOATING-VECTOR-SET!))
\ No newline at end of file
#| -*-Scheme-*-
-$Id: machin.scm,v 1.11 1993/01/08 00:04:37 cph Exp $
+$Id: machin.scm,v 1.12 1993/06/29 22:25:51 gjr Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
(define-integrable scheme-datum-width
(- scheme-object-width scheme-type-width))
-(define-integrable flonum-size 2)
+(define-integrable float-width 64)
(define-integrable float-alignment 64)
+(define-integrable address-units-per-float
+ (quotient float-width addressing-granularity))
+
;;; It is currently required that both packed characters and objects
;;; be integrable numbers of address units. Furthermore, the number
;;; of address units per object must be an integral multiple of the
INTEGER-QUOTIENT INTEGER-REMAINDER &/ QUOTIENT REMAINDER
FLONUM-SIN FLONUM-COS FLONUM-TAN FLONUM-ASIN FLONUM-ACOS
FLONUM-ATAN FLONUM-EXP FLONUM-LOG FLONUM-TRUNCATE FLONUM-ROUND
- FLONUM-REMAINDER FLONUM-SQRT))
\ No newline at end of file
+ FLONUM-REMAINDER FLONUM-SQRT
+ VECTOR-CONS STRING-ALLOCATE FLOATING-VECTOR-CONS
+ FLOATING-VECTOR-REF FLOATING-VECTOR-SET!))
\ No newline at end of file
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/compiler/machines/sparc/machin.scm,v 1.1 1993/06/08 06:11:02 gjr Exp $
+$Id: machin.scm,v 1.2 1993/06/29 22:29:10 gjr Exp $
-Copyright (c) 1988-1992 Massachusetts Institute of Technology
+Copyright (c) 1988-1993 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define-integrable scheme-datum-width
(- scheme-object-width scheme-type-width))
-(define-integrable flonum-size 2)
+(define-integrable float-width 64)
(define-integrable float-alignment 64)
+(define-integrable address-units-per-float
+ (quotient float-width addressing-granularity))
+
;;; It is currently required that both packed characters and objects
;;; be integrable numbers of address units. Furthermore, the number
;;; of address units per object must be an integral multiple of the
INTEGER-QUOTIENT INTEGER-REMAINDER &/ QUOTIENT REMAINDER
FLONUM-SIN FLONUM-COS FLONUM-TAN FLONUM-ASIN FLONUM-ACOS
FLONUM-ATAN FLONUM-EXP FLONUM-LOG FLONUM-TRUNCATE FLONUM-ROUND
- FLONUM-REMAINDER FLONUM-SQRT))
\ No newline at end of file
+ FLONUM-REMAINDER FLONUM-SQRT
+ VECTOR-CONS STRING-ALLOCATE FLOATING-VECTOR-CONS
+ FLOATING-VECTOR-REF FLOATING-VECTOR-SET!))
\ No newline at end of file
#| -*-Scheme-*-
-$Id: machin.scm,v 4.11 1993/01/08 00:05:10 cph Exp $
+$Id: machin.scm,v 4.12 1993/06/29 22:26:39 gjr Exp $
Copyright (c) 1987-1993 Massachusetts Institute of Technology
(define-integrable scheme-datum-width
(- scheme-object-width scheme-type-width))
-(define-integrable flonum-size 2)
+(define-integrable float-width 64)
(define-integrable float-alignment 32)
+(define-integrable address-units-per-float
+ (quotient float-width addressing-granularity))
+
;;; It is currently required that both packed characters and objects
;;; be integrable numbers of address units. Furthermore, the number
;;; of address units per object must be an integral multiple of the
false)
(define compiler:primitives-with-no-open-coding
- '(DIVIDE-FIXNUM GCD-FIXNUM &/))
\ No newline at end of file
+ '(DIVIDE-FIXNUM GCD-FIXNUM &/
+ VECTOR-CONS STRING-ALLOCATE FLOATING-VECTOR-CONS
+ FLOATING-VECTOR-REF FLOATING-VECTOR-SET!))
\ No newline at end of file