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] Move targetm.units_per_simd_word to largest_simd_mode


On 10/06/2010 05:39 AM, Richard Guenther wrote:
> 	* target.def (units_per_simd_word): Rename to ...
> 	(preferred_simd_mode): ... this.  Return mode instead of size.
> 	* targhooks.c (default_units_per_simd_word): Rename to ...
> 	(default_preferred_simd_mode): ... this.  Return word_mode.
> 	* targhooks.h (default_preferred_simd_mode): Declare.
> 	* config/arm/arm.c (arm_units_per_simd_word): Rename to ...
> 	(arm_preferred_simd_mode): ... this.  Re-implement.
> 	* config/i386/i386.c (ix86_units_per_simd_word): Rename to ...
> 	(ix86_preferred_simd_mode): ... this.  Re-implement.
> 	* config/sparc/sparc.c (sparc_units_per_simd_word): Rename to ...
> 	(sparc_preferred_simd_mode): ... this.  Re-implement.
> 	* config/mips/mips.c (mips_units_per_simd_word): Rename to ...
> 	(mips_preferred_simd_mode): ... this.  Re-implement.
> 	* config/rs6000/rs6000.c (rs6000_units_per_simd_word): Rename to ...
> 	(rs6000_preferred_simd_mode): ... this.  Re-implement.
> 	* tree-vect-stmts.c (get_vectype_for_scalar_type): Adjust.
> 	* doc/tm.texi.in (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): Remove.
> 	(TARGET_VECTORIZE_PREFERRED_SIMD_MODE): Document.
> 	* doc/tm.texi: Update.

Ok.


r~


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