Changeset 6542
- Timestamp:
- May 12, 2007, 1:25:09 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/compiler/PPC/ppc2.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/compiler/PPC/ppc2.lisp
r6461 r6542 31 31 (defparameter *ppc2-target-node-shift* 0) 32 32 (defparameter *ppc2-target-bits-in-word* 0) 33 (defparameter *ppc2-ppc32-half-fixnum-type* '(signed-byte 29)) 34 (defparameter *ppc2-ppc64-half-fixnum-type* `(signed-byte 60)) 35 (defparameter *ppc2-target-half-fixnum-type* nil) 33 36 34 37 … … 388 391 (*ppc2-target-bits-in-word* (arch::target-nbits-in-word (backend-target-arch *target-backend*))) 389 392 (*ppc2-target-node-size* *ppc2-target-lcell-size*) 393 (*ppc2-target-half-fixnum-type* (target-word-size-case 394 (32 *ppc2-ppc32-half-fixnum-type*) 395 (64 *ppc2-ppc64-half-fixnum-type*))) 390 396 (*ppc2-all-lcells* ()) 391 397 (*ppc2-top-vstack-lcell* nil) … … 6606 6612 6607 6613 (defppc2 ppc2-%i+ %i+ (seg vreg xfer form1 form2 &optional overflow) 6614 (when overflow 6615 (let* ((type *ppc2-target-half-fixnum-type*)) 6616 (when (and (ppc2-form-typep form1 type) 6617 (ppc2-form-typep form2 type)) 6618 (setq overflow nil)))) 6608 6619 (cond ((null vreg) 6609 6620 (ppc2-form seg nil nil form1) … … 6655 6666 6656 6667 (defppc2 ppc2-%i- %i- (seg vreg xfer num1 num2 &optional overflow) 6668 (when overflow 6669 (let* ((type *ppc2-target-half-fixnum-type*)) 6670 (when (and (ppc2-form-typep form1 type) 6671 (ppc2-form-typep form2 type)) 6672 (setq overflow nil)))) 6657 6673 (let* ((v1 (acode-fixnum-form-p num1)) 6658 6674 (v2 (acode-fixnum-form-p num2)))
Note:
See TracChangeset
for help on using the changeset viewer.
