On Tue, Nov 8, 2011 at 7:44 AM, Jakub Jelinek <ja...@redhat.com> wrote:

> Working virtually out of Pago Pago.

Hm...?

> Is there a reason why we don't prefer 32-byte integer vector modes
> even for AVX?  If a vectorized loop needs some operation that is only
> supported by AVX2 we would retry whenever seeing such stmt, so
> what I think this costs us mainly some small amount of time
> during vectorization analysis.  Examples of functions that can
> be vectorized with this patch using 32-byte vectors (and the runtime
> of the testcase decreased from ~ 0m2.876s to ~ 0m2.258s).

Nobody though of that yet ;)

> 2011-11-08  Jakub Jelinek  <ja...@redhat.com>
>
>        * config/i386/i386.c (ix86_preferred_simd_mode): Even for TARGET_AVX
>        if not TARGET_PREFER_AVX128 return 32-byte SI/DI vectors.

OK for mainline.

Thanks,
Uros.

Reply via email to