This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r110788 - in /branches/autovect-branch/gcc: Cha...


Author: dorit
Date: Thu Feb  9 08:46:44 2006
New Revision: 110788

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110788
Log:
        * tree-vectorizer.c (new_stmt_vec_info): Initialize new field.
        (vect_is_simple_live_use): New function, similar to old
        vect_is_simple_use, but permits induction variables.
        (vect_is_simple_use): Changed to use new vect_is_simple_live_use.
        * tree-vectorizer.h: (struct _stmt_vec_info): New field,
        epilog_stmt and macro for its access.
        (vect_is_simple_live_use): New function declaration.
        * tree-vect-analyze.c (vect_analyze_operations): Do not return false
        if vectorizable_live_operation returns true.
        (vect_mark_stmts_to_be_vectorized): Mark statement to be vectorized
        if it is simple live use.
        * tree-vect-transform.c (vect_get_epilog_def_for_operand): New
        function.
        (vectorizable_live_operation): Enhance code to insert calculation
        of final value of simple use ivs before epilog. Replace uses
        of PHI_RESULT in relevant exit_phi with the newly created def.
        (vect_transform_stmt): Takes additional argument.
        (advance_iv_by_n): New function.
        (vect_update_ivs_after_vectorizer): Factor out into advance_iv_by_n
        with a call to advance_iv_by_n.


Added:
    branches/autovect-branch/gcc/testsuite/gcc.dg/vect/vect-ivs-after-loop-1.c
Modified:
    branches/autovect-branch/gcc/ChangeLog.autovect
    branches/autovect-branch/gcc/testsuite/ChangeLog.autovect
    branches/autovect-branch/gcc/tree-vect-analyze.c
    branches/autovect-branch/gcc/tree-vect-transform.c
    branches/autovect-branch/gcc/tree-vectorizer.c
    branches/autovect-branch/gcc/tree-vectorizer.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]