This is the mail archive of the 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
2) a fix by Olga Golovanevsky to unknown loop bound support in the

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

comment: SPEC testing was done with the following patch disabled -, in order to be
able to test vectorization of loops with unknown bound (see


        * 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]