Changeset 14893
- Timestamp:
- Jul 20, 2011, 11:04:36 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/source/compiler/nx2.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/compiler/nx2.lisp
r14890 r14893 300 300 301 301 (defun acode-constant-fold-binop (seg vreg xfer x y function) 302 (multiple-value-bind ( x-p const-x) (acode-constant-p x)302 (multiple-value-bind (const-x x-p) (acode-constant-p x) 303 303 (when x-p 304 (multiple-value-bind ( y-p const-y) (acode-constant-p y)304 (multiple-value-bind (const-y y-p) (acode-constant-p y) 305 305 (when y-p 306 306 (let* ((result (ignore-errors (funcall function const-x const-y)))) … … 624 624 t) 625 625 ((and (eql (logcount f1) 1) 626 (> f1 0) 626 627 (acode-form-typep num2 *nx-target-fixnum-type* trust-decls)) 627 628 (backend-use-operator (%nx1-operator ash) … … 639 640 (backend-apply-acode num1 seg vreg xfer) 640 641 t) 641 ((and (eql (logcount f2) 1) (acode-form-typep num1 *nx-target-fixnum-type* trust-decls)) 642 ((and (eql (logcount f2) 1) 643 (> f2 0) 644 (acode-form-typep num1 *nx-target-fixnum-type* trust-decls)) 642 645 (backend-use-operator (%nx1-operator ash) 643 646 seg
Note:
See TracChangeset
for help on using the changeset viewer.
