gcc/gcc/config/spu
Bill Schmidt 8bd373026e re PR tree-optimization/50031 (Sphinx3 has a 10% regression going from GCC 4.5 to GCC 4.6 on powerpc)
2012-02-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
	    Ira Rosen  <irar@il.ibm.com>

	PR tree-optimization/50031
	* targhooks.c (default_builtin_vectorization_cost): Handle
	vec_promote_demote.
	* target.h (enum vect_cost_for_stmt): Add vec_promote_demote.
	* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Handle
	all types of reduction and pattern statements.
	(vect_estimate_min_profitable_iters): Likewise.
	* tree-vect-stmts.c (vect_model_promotion_demotion_cost): New function.
	(vect_get_load_cost): Use vec_perm for permutations; add dump logic
	for explicit realigns.
	(vectorizable_conversion): Call vect_model_promotion_demotion_cost.
	* config/spu/spu.c (spu_builtin_vectorization_cost): Handle
	vec_promote_demote.
	* config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise.
	* config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Update
	vec_perm for VSX and handle vec_promote_demote.


Co-Authored-By: Ira Rosen <irar@il.ibm.com>

From-SVN: r184102
2012-02-10 16:38:37 +00:00
..
constraints.md
predicates.md target.def (legitimate_constant_p): New hook. 2011-04-21 09:38:43 +00:00
spu-builtins.def Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
spu-builtins.md
spu-c.c spu-c.c (spu_resolve_overloaded_builtin): Don't use define_builtin_std where it's unnecessary. 2010-10-06 20:10:43 +00:00
spu-elf.h configure.ac: Add --with-native-system-header-dir. 2011-10-17 23:31:25 +00:00
spu-modes.def
spu-protos.h spu.h (LEGITIMIZE_RELOAD_ADDRESS): New macro. 2011-08-16 18:33:15 +00:00
spu.c re PR tree-optimization/50031 (Sphinx3 has a 10% regression going from GCC 4.5 to GCC 4.6 on powerpc) 2012-02-10 16:38:37 +00:00
spu.h spu.h (LEGITIMIZE_RELOAD_ADDRESS): New macro. 2011-08-16 18:33:15 +00:00
spu.md spu: Remove vec_extract_even/odd and vec_interleave expanders. 2011-10-25 14:30:04 -07:00
spu.opt options.texi (Variable, Var, Init): Update documentation without reference to VarExists. 2010-09-29 15:51:52 +01:00
spu_cache.h
spu_internals.h
spu_intrinsics.h
spu_mfcio.h
t-spu-elf Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
vec_types.h
vmx2spu.h