OSDN Git Service

* target.h (targetm.vectorize.builtin_vec_perm_ok): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2009 01:52:19 +0000 (01:52 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Nov 2009 01:52:19 +0000 (01:52 +0000)
commitafaef242b0273557519df36c79ed640e9442e927
tree9f56190fd9a03a09fedb53a42e51c8395d059720
parentcdcf9b482b57d7ff020680d03a5f888cf60208db
* target.h (targetm.vectorize.builtin_vec_perm_ok): New.
* target-def.h (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): New.
* hooks.h, hooks.c (hook_bool_tree_tree_true): New.
* tree-vect-slp.c (vect_create_mask_and_perm): Don't create
the vector constant here...
(vect_transform_slp_perm_load): ... do it here instead.  Validate
that the permutation vector is implementable by the target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154665 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/hooks.c
gcc/hooks.h
gcc/target-def.h
gcc/target.h
gcc/tree-vect-slp.c