Changeset 5476


Ignore:
Timestamp:
Nov 5, 2006, 6:35:18 AM (18 years ago)
Author:
Gary Byers
Message:

NX-ERROR-FOR-SIMPLE-2D-ARRAY-TYPE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/compiler/nx0.lisp

    r5340 r5476  
    557557      (nx-error "Subtag ~s not native on target ~s"
    558558                subtag (backend-target-arch-name *target-backend*))))
     559
     560(defun nx-error-for-simple-2d-array-type (type-keyword)
     561  (ecase type-keyword
     562    (:simple-vector arch::error-object-not-simple-array-t-2d)
     563    (:simple-string arch::error-object-not-simple-array-char-2d)
     564    (:bit-vector arch::error-object-not-simple-array-bit-2d)
     565    (:unsigned-8-bit-vector arch::error-object-not-simple-array-u8-2d)
     566    (:signed-8-bit-vector arch::error-object-not-simple-array-s8-2d)
     567    (:unsigned-16-bit-vector arch::error-object-not-simple-array-u16-2d)
     568    (:signed-16-bit-vector arch::error-object-not-simple-array-s16-2d)
     569    (:unsigned-32-bit-vector arch::error-object-not-simple-array-u32-2d)
     570    (:signed-32-bit-vector arch::error-object-not-simple-array-s32-2d)
     571    (:unsigned-64-bit-vector arch::error-object-not-simple-array-u64-2d)
     572    (:signed-64-bit-vector arch::error-object-not-simple-array-s64-2d)
     573    (:double-float-vector arch::error-object-not-simple-array-double-float-2d)
     574    (:single-float-vector arch::error-object-not-simple-array-double-float-2d)))
    559575
    560576(defun acode-s16-constant-p (x)
Note: See TracChangeset for help on using the changeset viewer.