aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-transform.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-11-30 14:30:00 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-11-30 14:30:00 +0000
commitc6b1b49b1ecf3ef95fcdf98c2ed41edefd4c8991 (patch)
treeaf44eced0f1123048c473eb4dc1a457dd2088947 /gcc/tree-vect-transform.c
parent3c4ace25d7f3d08c0c080ec0bf4d90cd403989a7 (diff)
downloadgcc-c6b1b49b1ecf3ef95fcdf98c2ed41edefd4c8991.zip
gcc-c6b1b49b1ecf3ef95fcdf98c2ed41edefd4c8991.tar.gz
gcc-c6b1b49b1ecf3ef95fcdf98c2ed41edefd4c8991.tar.bz2
tree-vectorizer.h (vectorizable_function): Export.
2006-11-30 Richard Guenther <rguenther@suse.de> * tree-vectorizer.h (vectorizable_function): Export. * tree-vect-transform.c (vectorizable_function): Likewise. * tree-vect-patterns.c (vect_recog_pow_pattern): Set type_in to scalar type in recognition of squaring. Make sure the target can vectorize sqrt in recognition of sqrt, set type_in to vector type in this case. * gcc.dg/vect/vect-pow-1.c: Rename ... * gcc.dg/vect/fast-math-vect-pow-1.c: ... to this. Use floats instead of doubles, check successful vectorization. From-SVN: r119362
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r--gcc/tree-vect-transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 84ae19f..769b4af 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -1570,7 +1570,7 @@ vectorizable_reduction (tree stmt, block_stmt_iterator *bsi, tree *vec_stmt)
true if the target has a vectorized version of the function,
or false if the function cannot be vectorized. */
-static bool
+bool
vectorizable_function (tree call, tree vectype)
{
tree fndecl = get_callee_fndecl (call);