summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-15 10:39:13 +0000
committerrevitale <revitale@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-15 10:39:13 +0000
commitc6b19c5f7e30d3fe356989902a35bee01b8ea001 (patch)
tree6da5176cd614d338ccf9a4e80eb154a56282eeb5 /gcc/target.h
parentb83e063e0926312524a38712f17fc488b8542ff6 (diff)
downloadgcc-c6b19c5f7e30d3fe356989902a35bee01b8ea001.tar.gz
New function for checking misalignment
git-svn-id: svn+ssh://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. */