------- Comment #3 from jakub at gcc dot gnu dot org 2010-02-17 22:17 ------- The @@ -24597,7 +24610,7 @@ avx_vpermilp_parallel (rtx par, enum machine_mode mode) if (!CONST_INT_P (er)) return 0; ei = INTVAL (er); - if (ei >= nelt) + if (ei >= 2 * nelt) return 0; ipar[i] = ei; } hunk in http://gcc.gnu.org/ml/gcc-patches/2009-11/msg01730.html seems to be the culprit. I can't see how allowing values nelt or larger can be correct, e.g. the mask returned by it is certainly wrong in that case.
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43107