aboutsummaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorRevital Eres <eres@il.ibm.com>2009-09-15 10:39:13 +0000
committerRevital Eres <eres@il.ibm.com>2009-09-15 10:39:13 +0000
commitbbf44d50d93aad150ae3f60891f6e9501fa24082 (patch)
tree6da5176cd614d338ccf9a4e80eb154a56282eeb5 /gcc/target.h
parent01e058c6f1b867617612e07618ac9ee33fff0531 (diff)
New function for checking misalignment
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@151715 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 7f7f177904f..c57b683a4fc 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -481,6 +481,11 @@ struct gcc_target
/* Target builtin that implements vector permute. */
tree (* builtin_vec_perm) (tree, tree*);
+ /* Return true if the target supports misaligned store/load of a
+ specific factor denoted in the third parameter. The last parameter
+ is true if the access is defined in a packed struct. */
+ bool (* builtin_support_vector_misalignment) (enum machine_mode,
+ const_tree, int, bool);
} vectorize;
/* The initial value of target_flags. */