Changeset 15149
- Timestamp:
- Dec 21, 2011, 2:28:20 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/source/compiler/X86/x862.lisp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/compiler/X86/x862.lisp
r15059 r15149 5030 5030 (^))) 5031 5031 5032 (defun x862-natural-constant (seg vreg xfer value) 5033 (x862-use-operator 5034 (if (typep value *nx-target-fixnum-type*) 5035 (%nx1-operator fixnum) 5036 (%nx1-operator immediate)) 5037 seg vreg xfer value)) 5038 5039 5032 5040 5033 5041 … … 10473 10481 (fix-y (acode-fixnum-form-p y))) 10474 10482 (if (and fix-x fix-y) 10475 (x862- absolute-naturalseg vreg xfer (+ fix-x fix-y))10483 (x862-natural-constant seg vreg xfer (+ fix-x fix-y)) 10476 10484 (let* ((u31x (and (typep fix-x '(unsigned-byte 31)) fix-x)) 10477 10485 (u31y (and (typep fix-y '(unsigned-byte 31)) fix-y))) … … 10498 10506 (fix-y (acode-fixnum-form-p y))) 10499 10507 (if (and fix-x fix-y) 10500 (x862- absolute-naturalseg vreg xfer (- fix-x fix-y))10508 (x862-natural-constant seg vreg xfer (- fix-x fix-y)) 10501 10509 (let* ((u31y (and (typep fix-y '(unsigned-byte 31)) fix-y))) 10502 10510 (if (not u31y) … … 10522 10530 (naturaly (nx-natural-constant-p y))) 10523 10531 (if (and naturalx naturaly) 10524 (x862- absolute-naturalseg vreg xfer (logior naturalx naturaly))10532 (x862-natural-constant seg vreg xfer (logior naturalx naturaly)) 10525 10533 (let* ((u31x (nx-u31-constant-p x)) 10526 10534 (u31y (nx-u31-constant-p y)) … … 10548 10556 (naturaly (nx-natural-constant-p y))) 10549 10557 (if (and naturalx naturaly) 10550 (x862- absolute-naturalseg vreg xfer (logxor naturalx naturaly))10558 (x862-natural-constant seg vreg xfer (logxor naturalx naturaly)) 10551 10559 (let* ((u32x (nx-u32-constant-p x)) 10552 10560 (u32y (nx-u32-constant-p y)) … … 10573 10581 (let* ((naturalx (nx-natural-constant-p x)) 10574 10582 (naturaly (nx-natural-constant-p y))) 10575 (if (and naturalx naturaly) 10576 (x862- absolute-naturalseg vreg xfer (logand naturalx naturaly))10583 (if (and naturalx naturaly) 10584 (x862-natural-constant seg vreg xfer (logand naturalx naturaly)) 10577 10585 (let* ((u31x (nx-u31-constant-p x)) 10578 10586 (u31y (nx-u31-constant-p y))
Note:
See TracChangeset
for help on using the changeset viewer.
