This is the mail archive of the
mailing list for the GCC project.
Re: [lno] [patch] vectorizer update - loop bound
Toon Moene <email@example.com> writes:
> Dorit Naishlos wrote:
> > The patch below implements a more general loop bound transformation scheme
> > - still limited to known loop bound that divides by the vectorization
> > factor, but no longer dependent on the loop IV eolution and the loop exit
> > condition form. This allows relaxing the restrictions that the vectorizer
> > imposed on the loop exit condition, and use the precomputed
> > loop->nb_iterations instead (from the monev analyzer). As a result, two of
> > the loops in the test case tree-ssa-vect-none.c (#12 and #13) are now
> > vectorizable, and are therefore moved to tree-ssa-vect-all.c.
> Still ...
> No vector, no cry:
> $ cat vector.f95
> DIMENSION A(1000000), B(1000000), C(1000000)
> READ*, X, Y
> A = LOG(X); B = LOG(Y); C = A + B
> PRINT*, C(500000)
My f95-fu is weak, but doesn't this make 'A' an array of double?
Does your processor actually have double vector operations?
- Geoffrey Keating <firstname.lastname@example.org>