This is the mail archive of the gcc-patches@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]

[autovect] [patch] vectorizer misc. fixes





This patch includes:

1. Two fixes following this patch -
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01159.html: the setting of
LOOP_PEELING_FOR_ALIGNMENT fixed from a boolean to an int value, and the
setting of DR_MISALIGNMENT fixed to value in bytes instead of
number-of-elements.  Thanks to Keith for catching these.

2. Fixes to varray usage.

Bootstrapped and tested on powerpc-darwin.

dorit


Changelog:

        * tree-vectorizer.h: (peeling_for_alignment): Fix spelling in
comment
        for this field.

        (vect_recog_unsigned_subsat_pattern): Argument changed from
varray_type
        to varray_type*.
        (_recog_func_ptr): Argument changed from varray_type to
varray_type*.
        * tree-vectorizer.c (vect_pattern_recog_1): Argument changed from
        varray_type to varray_type*. Pass &stmt_list instead of stmt_list
        when calling pattern_recog_func.
        (vect_recog_unsigned_subsat_pattern): Argument changed from
varray_type
        to varray_type*.
        (vect_pattern_recog): pattern_recog_func takes varray_type* instead
of
        varray_type.

        (vect_enhance_data_refs_alignment): Fix DR_MISALIGNMENT setting to
        value in bytes.

        (new_loop_vec_info): Initialize LOOP_PEELING_FOR_ALIGNMENT with 0
        instead of false.
        (vect_enhance_data_refs_alignment): Avoid 80 column overflow.

        Merged from mainline:
        * tree-vectorizer.c (vect_mark_relevant) First argument changed
from
        varray_type to varray_type*.
        (vect_mark_stmts_to_be_vectorized): Pass &worklist instead of
worklist
        when calling vect_mark_relevant.

Patch:

(See attached file: autovect_fixes)

Attachment: autovect_fixes
Description: Binary data


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