On 12/15/2011 10:22 AM, Michael Zolotukhin wrote:
>> This is vect_perm.  Why are you inventing a new one?
> As far as I understand, vect_perm is true if target supports at least
> some vector-permutation, while vect_any_perm is intended to be true if
> arbitrary permutation is supported (like in avx). It was introduced
> because vectorization began to occur on a previously unvectorizable
> loop in slp-perm-9.c when -mavx2 is specified. I think that's because
> broader range of permutations is available in this case, and that's
> why I introduced this checker.

Well, ppc and spe support arbitrary permutation, which are the only other
two listed with vec_perm.

As for i386, we support arbitrary permutation beginning with ssse3.

So, don't add vect_any_perm.  Use vec_perm and figure out what's really
wrong with slp-perm-9.


r~

Reply via email to