projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional niceties and middle end support for short vector SIMD packs
[sbcl.git]
/
src
/
code
/
target-type.lisp
diff --git
a/src/code/target-type.lisp
b/src/code/target-type.lisp
index
5bff4bd
..
1f877a0
100644
(file)
--- a/
src/code/target-type.lisp
+++ b/
src/code/target-type.lisp
@@
-35,7
+35,8
@@
array-type
character-set-type
built-in-classoid
array-type
character-set-type
built-in-classoid
- cons-type)
+ cons-type
+ #!+sb-simd-pack simd-pack-type)
(values (%typep obj type) t))
(classoid
(if (if (csubtypep type (specifier-type 'function))
(values (%typep obj type) t))
(classoid
(if (if (csubtypep type (specifier-type 'function))
@@
-166,6
+167,12
@@
(make-cons-type *universal-type* *universal-type*))
(character
(specifier-type 'character))
(make-cons-type *universal-type* *universal-type*))
(character
(specifier-type 'character))
+ #!+sb-simd-pack
+ (simd-pack
+ (let ((type (nth (%simd-pack-tag x) *simd-pack-element-types*)))
+ (if type
+ (specifier-type `(simd-pack ,type))
+ (specifier-type 'simd-pack))))
(t
(classoid-of x))))
\f
(t
(classoid-of x))))
\f