aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-04-09 13:21:43 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-04-09 13:21:43 +0000
commit88dd71504e89d86f723861404153b071d3113b39 (patch)
tree25782c93a9adf744980ea7689e440093b39185ad /gcc/target.h
parent7d7a1fe85989e4f3998060ed9f2d4d6973e39eed (diff)
downloadgcc-88dd71504e89d86f723861404153b071d3113b39.zip
gcc-88dd71504e89d86f723861404153b071d3113b39.tar.gz
gcc-88dd71504e89d86f723861404153b071d3113b39.tar.bz2
target.h (builtin_conversion): Pass in input and output types.
2010-04-09 Richard Guenther <rguenther@suse.de> * target.h (builtin_conversion): Pass in input and output types. * targhooks.c (default_builtin_vectorized_conversion): Adjust. * targhooks.h (default_builtin_vectorized_conversion): Likewise. * tree-vect-stmts.c (vectorizable_conversion): Adjust. * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Adjust. * config/i386/i386.c (ix86_vectorize_builtin_conversion): Adjust. Handle AVX modes. * config/rs6000/rs6000.c (rs6000_builtin_conversion): Adjust. From-SVN: r158162
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/target.h b/gcc/target.h
index e4e82a3..7729525 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -476,9 +476,9 @@ struct gcc_target
function, or NULL_TREE if not available. */
tree (* builtin_vectorized_function) (tree, tree, tree);
- /* Returns a code for builtin that realizes vectorized version of
- conversion, or NULL_TREE if not available. */
- tree (* builtin_conversion) (unsigned, tree);
+ /* Returns a function declaration for a builtin that realizes the
+ vector conversion, or NULL_TREE if not available. */
+ tree (* builtin_conversion) (unsigned, tree, tree);
/* Target builtin that implements vector widening multiplication.
builtin_mul_widen_eve computes the element-by-element products