Changeset 5537
- Timestamp:
- Nov 9, 2006, 11:50:34 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/compiler/X86/x862.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/compiler/X86/x862.lisp
r5533 r5537 7726 7726 (atype (if (array-ctype-p ctype) ctype)) 7727 7727 (keyword (and atype 7728 (= 2 (length (array-ctype-dimensions atype))) 7729 (not (array-ctype-complexp atype)) 7730 (funcall 7731 (arch::target-array-type-name-from-ctype-function 7732 (backend-target-arch *target-backend*)) 7733 atype)))) 7728 (let* ((dims (array-ctype-dimensions atype))) 7729 (and (typep dims 'list) 7730 7731 (= 2 (length dims)))) 7732 (not (array-ctype-complexp atype)) 7733 (funcall 7734 (arch::target-array-type-name-from-ctype-function 7735 (backend-target-arch *target-backend*)) 7736 atype)))) 7734 7737 (cond (keyword 7735 7738 (let* ((dims (array-ctype-dimensions atype)) … … 7815 7818 (atype (if (array-ctype-p ctype) ctype)) 7816 7819 (keyword (and atype 7817 (= 2 (length (array-ctype-dimensions atype))) 7818 (not (array-ctype-complexp atype)) 7819 (funcall 7820 (arch::target-array-type-name-from-ctype-function 7821 (backend-target-arch *target-backend*)) 7822 atype)))) 7820 (let* ((dims (array-ctype-dimensions atype))) 7821 (and (type dims 'list) 7822 (= 2 (length dims)))) 7823 (not (array-ctype-complexp atype)) 7824 (funcall 7825 (arch::target-array-type-name-from-ctype-function 7826 (backend-target-arch *target-backend*)) 7827 atype)))) 7823 7828 (cond (keyword 7824 7829 (let* ((dims (array-ctype-dimensions atype)) … … 7885 7890 new ($ x8664::arg_z)) 7886 7891 (x862-pop-register seg ($ x8664::temp1)) 7887 (x862-fixed-call-builtin seg vreg xfer nil (subprim-name->offset '.SPa ref3))))))7892 (x862-fixed-call-builtin seg vreg xfer nil (subprim-name->offset '.SPaset3)))))) 7888 7893 7889 7894 … … 7895 7900 (dim1 (acode-fixnum-form-p dim1))) 7896 7901 (x862-aset2 seg vreg xfer arr i j new safe type-keyword dim0 dim1))) 7902 7903 7904 (defx862 x862-%aset3 simple-typed-aset3 (seg vreg xfer typename arr i j k new &optional dim0 dim1 dim2) 7905 (let* ((type-keyword (x862-immediate-operand typename)) 7906 (fixtype (nx-lookup-target-uvector-subtag type-keyword)) 7907 (safe (unless *x862-reckless* fixtype)) 7908 (dim0 (acode-fixnum-form-p dim0)) 7909 (dim1 (acode-fixnum-form-p dim1)) 7910 (dim2 (acode-fixnum-form-p dim2))) 7911 (x862-aset3 seg vreg xfer arr i j k new safe type-keyword dim0 dim1 dim2))) 7897 7912 7898 7913 (defx862 x862-%typed-uvref %typed-uvref (seg vreg xfer subtag uvector index)
Note:
See TracChangeset
for help on using the changeset viewer.
