A prototype loop reverser for the scalarizer
Victor Kaplansky
VICTORK@il.ibm.com
Mon Oct 16 10:55:00 GMT 2006
> > My pet peeve (front end doesn't give necessary info to middle end):
> >
> > DIMENSION A(100)
> > READ, A
> > PRINT*, SUM(A)
> > END
> >
> > This won't get vectorized, because, by the time the vectorizer sees
this
> > code, it already has been scalarized into a loop with a definite order
> > of summation, contrary to the coder's intent ;-)
>
> Not even on the autovect branch? Or are reductions on the trunk already,
too?
>
Reductions will be put into mainline as soon as 4.3 is open.
-- Victor
More information about the Fortran
mailing list