Changeset 5263
- Timestamp:
- Sep 26, 2006, 7:46:57 PM (18 years ago)
- Location:
- trunk/ccl/compiler
- Files:
-
- 3 edited
-
X86/X8664/x8664-vinsns.lisp (modified) (1 diff)
-
X86/x862.lisp (modified) (1 diff)
-
optimizers.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/compiler/X86/X8664/x8664-vinsns.lisp
r5253 r5263 2036 2036 2037 2037 2038 (define-x8664-vinsn mem-set-constant-doubleword (() 2039 ((val :s32const) 2040 (dest :address) 2041 (offset :s64))) 2042 (movq (:$l val) (:@ (:%q dest) (:%q offset)))) 2038 2043 2039 2044 2040 -
trunk/ccl/compiler/X86/x862.lisp
r5236 r5263 3925 3925 (and offval (%i> (integer-length offval) 31) (setq offval nil)) 3926 3926 (and intval (%i> (integer-length intval) 31) (setq intval nil)) 3927 (and intval 3928 (case size 3929 (2 3930 (if (>= intval 32768) (setq intval (- intval 65536)))) 3931 (1 3932 (if (>= intval 128) (setq intval (- intval 256)))))) 3927 3933 (cond (intval 3928 3934 (cond (offval -
trunk/ccl/compiler/optimizers.lisp
r5217 r5263 517 517 (cond ((nx-form-typep integer 'fixnum env) 518 518 `(logand ,(byte-mask size) 519 (ash ,integer ,(- position))))519 (the fixnum (ash ,integer ,(- position))))) 520 520 (t `(load-byte ,size ,position ,integer))))) 521 521 ((and (consp byte) … … 526 526 (if (and (nx-form-typep integer 'fixnum env) (fixnump position)) 527 527 ;; I'm not sure this is worth doing 528 `(logand (byte-mask ,size) ( ash ,integer ,(- position)))528 `(logand (byte-mask ,size) (the fixnum (ash ,integer ,(- position)))) 529 529 ;; this IS worth doing 530 530 `(load-byte ,size ,position ,integer))))
Note:
See TracChangeset
for help on using the changeset viewer.
