aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorDorit Nuzman <dorit@il.ibm.com>2007-07-12 14:42:08 +0000
committerDorit Nuzman <dorit@gcc.gnu.org>2007-07-12 14:42:08 +0000
commit5b900a4c0ee38a66b04b4ceeecb8b194ddde7e57 (patch)
tree1d606e4397ee32cd9fe29b0165fe91119ff4fbc6 /gcc/targhooks.h
parent2df6377e6e01046582d489ae59b5be1371b42d59 (diff)
downloadgcc-5b900a4c0ee38a66b04b4ceeecb8b194ddde7e57.zip
gcc-5b900a4c0ee38a66b04b4ceeecb8b194ddde7e57.tar.gz
gcc-5b900a4c0ee38a66b04b4ceeecb8b194ddde7e57.tar.bz2
re PR target/25413 (wrong alignment or incorrect address computation in vectorized code on Pentium 4 SSE)
2007-07-12 Dorit Nuzman <dorit@il.ibm.com> Devang Patel <dpatel@apple.com> PR tree-optimization/25413 * targhooks.c (default_builtin_vector_alignment_reachable): New. * targhooks.h (default_builtin_vector_alignment_reachable): New. * tree.h (contains_packed_reference): New. * expr.c (contains_packed_reference): New. * tree-vect-analyze.c (vector_alignment_reachable_p): New. (vect_enhance_data_refs_alignment): Call vector_alignment_reachable_p. * target.h (vector_alignment_reachable): New builtin. * target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New. * config/rs6000/rs6000.c (rs6000_vector_alignment_reachable): New. (TARGET_VECTOR_ALIGNMENT_REACHABLE): Define. Co-Authored-By: Devang Patel <dpatel@apple.com> From-SVN: r126591
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index a326194..5848f6c 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -66,6 +66,8 @@ extern tree default_builtin_vectorized_conversion (enum tree_code, tree);
extern tree default_builtin_reciprocal (enum built_in_function, bool, bool);
+extern bool default_builtin_vector_alignment_reachable (tree, bool);
+
/* These are here, and not in hooks.[ch], because not all users of
hooks.h include tm.h, and thus we don't have CUMULATIVE_ARGS. */