On 12/16/2011 09:44 AM, Michael Zolotukhin wrote: >> 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. > Yes, sure, SSSE3 is enough for that. I checked for AVX in vect_perm > just because there is no check for SSSE3 and no tests currently > require exactly SSSE3 (without AVX) - that's not absolutely correct > and I suggest it as a temporary solution - we can weaken this check > when a real case will be met (in which SSSE3 is needed without AVX).
What do you mean no tests require it? For instance, all of the ones that currently pass with with vect_perm? Just leave vect_perm alone for now. That may not be absolutely correct either, but it's the good temporary solution that involves the minimal amount of churn. r~