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]

[lno] loop bound and vectorizer minor fixes


This patch includes:
1) a fix in tree-scalar-evolutions by Sebastian Pop
(http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01515.html)
2) a fix by Olga Golovanevsky to unknown loop bound support in the
vectorizer

With these patches I was able to pass SPEC with vectorization turned on,
including vectorization of unknown loop bounds. Olga, Sebastian - thanks!

disclaimer: this was just before
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01589.html

comment: SPEC testing was done with the following patch disabled -
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01234.html, in order to be
able to test vectorization of loops with unknown bound (see
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01523.html)

dorit

        * tree-scalar-evolution.c (first_iteration_non_satisfying_1):
        Include the evolution of the non varying chrec in other_evs.
        (number_of_iterations_in_loop): Don't instantiate the chrecs
        before the computation of loop counts.

        * tree-vectorizer.c (vect_transform_loop_bound): Advance IVs
        by correct amount.
        (vect_transform_loop, vect_build_symbl_bound): Use shifts
        instead of division/multiplication to advance IVs.

(See attached file: patch.May24)

Attachment: patch.May24
Description: Binary data


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