This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Adjust diag-scans in vect-tests to fix fails on AVX/AVX2


On 12/15/2011 11:21 PM, Michael Zolotukhin wrote:
> E.g., in vect-114.c we need permutation only for reversing vector
> elements, even ssse3 isn't required for it ...

Sure.

> while in slp-perm-9 such permutation isn't enough.

Why?  SSSE3 *really can* do arbitrary permutation.  If you say that
isn't enough, then there's something wrong in the back end, and all
you're doing is papering over a bug.

Changing vect_perm to require AVX is wrong.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]