aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@linux.vnet.ibm.com>2010-03-27 10:27:39 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2010-03-27 10:27:39 +0000
commit62f7fd21955367a875adbd2d6e31c9f7c08e3764 (patch)
tree73ad6eb95633d4417f631f17d1389bca7e91e78f /gcc/doc
parent527a6a9c35557825b3363411bd08b178e50c4d9d (diff)
downloadgcc-62f7fd21955367a875adbd2d6e31c9f7c08e3764.zip
gcc-62f7fd21955367a875adbd2d6e31c9f7c08e3764.tar.gz
gcc-62f7fd21955367a875adbd2d6e31c9f7c08e3764.tar.bz2
PR 43544, change TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION to take a tree argument
From-SVN: r157770
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index a11e99e..012edd7 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5717,13 +5717,13 @@ If this hook is defined, the autovectorizer will use the
conversion. Otherwise, it will return @code{NULL_TREE}.
@end deftypefn
-@deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION (unsigned @var{code}, tree @var{vec_type_out}, tree @var{vec_type_in})
-This hook should return the decl of a function that implements the vectorized
-variant of the builtin function with builtin function code @var{code} or
-@code{NULL_TREE} if such a function is not available. The value of @var{code}
-is one of the enumerators in @code{enum built_in_function}. The return type of
-the vectorized function shall be of vector type @var{vec_type_out} and the
-argument types should be @var{vec_type_in}.
+@deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION (tree @var{fndecl}, tree @var{vec_type_out}, tree @var{vec_type_in})
+This hook should return the decl of a function that implements the
+vectorized variant of the builtin function with builtin function code
+@var{code} or @code{NULL_TREE} if such a function is not available.
+The value of @var{fndecl} is the builtin function declaration. The
+return type of the vectorized function shall be of vector type
+@var{vec_type_out} and the argument types should be @var{vec_type_in}.
@end deftypefn
@deftypefn {Target Hook} bool TARGET_SUPPORT_VECTOR_MISALIGNMENT (enum machine_mode @var{mode}, const_tree @var{type}, int @var{misalignment}, bool @var{is_packed})