aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-10-20 13:10:05 -0700
committerRichard Henderson <rth@gcc.gnu.org>2011-10-20 13:10:05 -0700
commit5a3c00681c5eb8b14a08438c5b0a18a04aab0c2b (patch)
treeb79e74688c8bfe85b64de19c5c1b67397a7f2af7 /gcc/config
parent74acb076e9e2bb62d5aba3b1ad21307e385c0392 (diff)
downloadgcc-5a3c00681c5eb8b14a08438c5b0a18a04aab0c2b.zip
gcc-5a3c00681c5eb8b14a08438c5b0a18a04aab0c2b.tar.gz
gcc-5a3c00681c5eb8b14a08438c5b0a18a04aab0c2b.tar.bz2
target.def (vec_perm_const_ok): Rename from builtin_vec_perm_ok.
* target.def (vec_perm_const_ok): Rename from builtin_vec_perm_ok. * optabs.c (can_vec_perm_expr_p): Update to match. (expand_vec_perm_expr): Likewise. * config/i386/i386.c (TARGET_VECTORIZE_VEC_PERM_CONST_OK): Rename from TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK. * doc/tm.texi.in: Likewise. From-SVN: r180270
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index a6cb7a3..2d44c00 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -36446,7 +36446,7 @@ ix86_expand_vec_perm_const (rtx operands[4])
return false;
}
-/* Implement targetm.vectorize.builtin_vec_perm_ok. */
+/* Implement targetm.vectorize.vec_perm_const_ok. */
static bool
ix86_vectorize_vec_perm_const_ok (tree vec_type, tree mask)
@@ -37879,8 +37879,8 @@ ix86_autovectorize_vector_sizes (void)
#undef TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST
#define TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST \
ix86_builtin_vectorization_cost
-#undef TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK
-#define TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK \
+#undef TARGET_VECTORIZE_VEC_PERM_CONST_OK
+#define TARGET_VECTORIZE_VEC_PERM_CONST_OK \
ix86_vectorize_vec_perm_const_ok
#undef TARGET_VECTORIZE_PREFERRED_SIMD_MODE
#define TARGET_VECTORIZE_PREFERRED_SIMD_MODE \