diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 14:29:53 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-21 14:29:53 +0000 |
commit | c37bea1361b837bfa6083070c1f48916acb2fe73 (patch) | |
tree | 780e63d411978fb8d8cb93106c7cfed5aedf45ff /gcc/tree-vectorizer.h | |
parent | cd36b2c0e14e6a32b9ed41d460d1c330f2775894 (diff) | |
download | gcc-c37bea1361b837bfa6083070c1f48916acb2fe73.tar.gz |
2006-11-21 Richard Guenther <rguenther@suse.de>
* tree-vectorizer.h (NUM_PATTERNS): Increase.
* tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add
vect_recog_pow_pattern.
(vect_recog_pow_pattern): New function.
* gcc.dg/vect/vect-pow-1.c: New testcase.
* gcc.dg/vect/vect-pow-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119056 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 55e13776266..8341ad00a07 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -357,7 +357,7 @@ extern loop_vec_info vect_analyze_loop (struct loop *); Additional pattern recognition functions can (and will) be added in the future. */ typedef tree (* vect_recog_func_ptr) (tree, tree *, tree *); -#define NUM_PATTERNS 3 +#define NUM_PATTERNS 4 void vect_pattern_recog (loop_vec_info); |