aboutsummaryrefslogtreecommitdiff
path: root/gcc/targhooks.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-10-07 14:35:38 +0000
committerRichard Guenther <rguenther@suse.de>2010-10-07 14:35:38 +0000
commite4851983dd0be0cb5e1867ddb0454a9f3a61ce47 (patch)
tree6f561e813aa0ca8ad15d3002a912e9e02e3da749 /gcc/targhooks.h
parent07088f2df5755481fa597e2d8df8fd2cf65a3135 (diff)
2010-10-07 Richard Guenther <rguenther@suse.de>
* target.def (autovectorize_vector_sizes): New target hook. * targhooks.c (default_autovectorize_vector_sizes): New function. * targhooks.h (default_autovectorize_vector_sizes): Declare. * doc/tm.texi.in (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Document. * doc/tm.texi: Update. * config/i386/i386.c (ix86_autovectorize_vector_sizes): New function. (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@165115 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r--gcc/targhooks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h
index a705d7e8586..920c91830d1 100644
--- a/gcc/targhooks.h
+++ b/gcc/targhooks.h
@@ -87,6 +87,7 @@ default_builtin_support_vector_misalignment (enum machine_mode mode,
const_tree,
int, bool);
extern enum machine_mode default_preferred_simd_mode (enum machine_mode mode);
+extern unsigned int default_autovectorize_vector_sizes (void);
/* 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. */