[lno] loop bound and vectorizer minor fixes

Dorit Naishlos DORIT@il.ibm.com
Tue May 25 19:21:00 GMT 2004


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.May24
Type: application/octet-stream
Size: 7525 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040525/cc4c7d32/attachment.obj>


More information about the Gcc-patches mailing list