diff options
author | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 11:59:10 +0000 |
---|---|---|
committer | irar <irar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-20 11:59:10 +0000 |
commit | 0df23b96b4542b1d28ebb6eb669b0de339989e44 (patch) | |
tree | b5c54f986ec049e40252b92d71e7729a749daaa7 /gcc/ChangeLog | |
parent | 8097362b548d69058a302d6d1ad2f5aac4fb624a (diff) | |
download | gcc-0df23b96b4542b1d28ebb6eb669b0de339989e44.tar.gz |
* tree-vectorizer.h (vectorizable_condition): Add parameters.
* tree-vect-loop.c (vect_is_simple_reduction): Support COND_EXPR.
(get_initial_def_for_reduction): Likewise.
(vectorizable_reduction): Skip the check of first operand in case
of COND_EXPR. Add check that it is outer loop vectorization if
nested cycle was detected. Call vectorizable_condition() for
COND_EXPR. If reduction epilogue cannot be created do not fail for
nested cycles (if it is not double reduction). Assert that there
is only one type in the loop in case of COND_EXPR. Call
vectorizable_condition() to vectorize COND_EXPR.
* tree-vect-stmts.c (vectorizable_condition): Update comment.
Add parameters. Allow nested cycles if called from
vectorizable_reduction(). Use reduction vector variable if provided.
(vect_analyze_stmt): Call vectorizable_reduction() before
vectorizable_condition().
(vect_transform_stmt): Update call to vectorizable_condition().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e3818f3ba86..7e349d5f202 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,22 @@ +2009-07-20 Ira Rosen <irar@il.ibm.com> + + * tree-vectorizer.h (vectorizable_condition): Add parameters. + * tree-vect-loop.c (vect_is_simple_reduction): Support COND_EXPR. + (get_initial_def_for_reduction): Likewise. + (vectorizable_reduction): Skip the check of first operand in case + of COND_EXPR. Add check that it is outer loop vectorization if + nested cycle was detected. Call vectorizable_condition() for + COND_EXPR. If reduction epilogue cannot be created do not fail for + nested cycles (if it is not double reduction). Assert that there + is only one type in the loop in case of COND_EXPR. Call + vectorizable_condition() to vectorize COND_EXPR. + * tree-vect-stmts.c (vectorizable_condition): Update comment. + Add parameters. Allow nested cycles if called from + vectorizable_reduction(). Use reduction vector variable if provided. + (vect_analyze_stmt): Call vectorizable_reduction() before + vectorizable_condition(). + (vect_transform_stmt): Update call to vectorizable_condition(). + 2009-07-20 Christian Bruel <christian.bruel@st.com> * config/sh/sh.opt (-mfmovd): Resurrect and document. |