[PATCH][4.6] [1/2] Handle multiple vector sizes with AVX
Uros Bizjak
ubizjak@gmail.com
Thu Mar 4 11:16:00 GMT 2010
Hello!
> This is a preparatory patch to allow UNITS_PER_SIMD_WORD to hand out
> different vector sizes based on a desired vectorization factor.
> It will unconditionally use the largest available vector size
> with this patch, more thorough support will come with [2/2], but
> this is the part that touches target code.
>
> Queued for 4.6.
>
>
> 2010-03-03 Richard Guenther <rguenther@suse.de>
>
> * defaults.h (UNITS_PER_SIMD_WORD): Adjust.
> * config/i386/i386.h (UNITS_PER_SIMD_WORD): Allow 32byte float
> vectors.
> * config/arm/arm.h (UNITS_PER_SIMD_WORD): Adjust.
> * config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
> * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
> * config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
> * tree-vect-stmts.c (get_vectype_for_scalar_type): Adjust.
> * tree-vectorizer.h (MAX_VECTORIZATION_FACTOR): New define.
x86 part is OK.
Thanks,
Uros.
More information about the Gcc-patches
mailing list