Changeset 7875 for branches/ia32/level-0
- Timestamp:
- Dec 11, 2007, 1:10:50 AM (13 years ago)
- Location:
- branches/ia32/level-0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ia32/level-0/l0-numbers.lisp
r7362 r7875 467 467 (if (and (eq int 0)(= sfloat 0.0s0)) 468 468 0 469 (#+32-bit-target ppc32::with-stack-short-floats #+32-bit-target ((s1 int))469 (#+32-bit-target target::with-stack-short-floats #+32-bit-target ((s1 int)) 470 470 #-32-bit-target let* #-32-bit-target ((s1 (%int-to-sfloat int))) 471 471 (locally … … 1067 1067 (%double-float--2 fnum (%double-float*-2! (%double-float res f2) ,divisor f2)))))) 1068 1068 (truncate-rat-sfloat (number divisor) 1069 #+ ppc32-target1070 `( ppc32::with-stack-short-floats ((fnum ,number)1069 #+32-bit-target 1070 `(target::with-stack-short-floats ((fnum ,number) 1071 1071 (f2)) 1072 1072 (let ((res (%unary-truncate (%short-float/-2! fnum ,divisor f2)))) … … 1117 1117 (number-case divisor 1118 1118 (short-float 1119 #+ ppc32-target1120 ( ppc32::with-stack-short-floats ((f2))1119 #+32-bit-target 1120 (target::with-stack-short-floats ((f2)) 1121 1121 (let ((res (%unary-truncate (%short-float/-2! number divisor f2)))) 1122 1122 (values res … … 1133 1133 (the short-float divisor)))))) 1134 1134 ((fixnum bignum ratio) 1135 #+ ppc32-target1136 ( ppc32::with-stack-short-floats ((fdiv divisor)1135 #+32-bit-target 1136 (target::with-stack-short-floats ((fdiv divisor) 1137 1137 (f2)) 1138 1138 (let ((res (%unary-truncate (%short-float/-2! number fdiv f2)))) … … 1192 1192 (%unary-truncate (%double-float/-2! fnum ,divisor f2)))) 1193 1193 (truncate-rat-sfloat (number divisor) 1194 #+ ppc32-target1195 `( ppc32::with-stack-short-floats ((fnum ,number)1194 #+32-bit-target 1195 `(target::with-stack-short-floats ((fnum ,number) 1196 1196 (f2)) 1197 1197 (%unary-truncate (%short-float/-2! fnum ,divisor f2))) … … 1251 1251 (number-case divisor 1252 1252 ((fixnum bignum ratio) 1253 #+ ppc32-target1254 ( ppc32::with-stack-short-floats ((fdiv divisor)1253 #+32-bit-target 1254 (target::with-stack-short-floats ((fdiv divisor) 1255 1255 (f2)) 1256 1256 (let ((res (%unary-truncate (%short-float/-2! number fdiv f2)))) … … 1260 1260 (the short-float (%short-float divisor))))) 1261 1261 (short-float 1262 #+ ppc32-target1263 ( ppc32::with-stack-short-floats ((ddiv divisor)1262 #+32-bit-target 1263 (target::with-stack-short-floats ((ddiv divisor) 1264 1264 (f2)) 1265 1265 (%unary-truncate (%short-float/-2! number ddiv f2))) -
branches/ia32/level-0/l0-utils.lisp
r6916 r7875 78 78 79 79 (eval-when (:compile-toplevel :execute) 80 #+ ppc32-target80 #+32-bit-target 81 81 (defmacro need-use-eql-macro (key) 82 82 `(let* ((typecode (typecode ,key))) 83 83 (declare (fixnum typecode)) 84 (or (= typecode ppc32::subtag-macptr)85 (and (>= typecode ppc32::min-numeric-subtag)86 (<= typecode ppc32::max-numeric-subtag)))))84 (or (= typecode target::subtag-macptr) 85 (and (>= typecode target::min-numeric-subtag) 86 (<= typecode target::max-numeric-subtag))))) 87 87 #+64-bit-target 88 88 (defmacro need-use-eql-macro (key)
Note: See TracChangeset
for help on using the changeset viewer.