Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

ifort 14.0 not vectorizing IVDEP loop

$
0
0

I have the following loop:

!DIR$ IVDEP
DO 20 J = JBGN, JEND
X(IROW) = X(IROW) - L(J)*X(JL(J))
20 CONTINUE

When I compile it with ifort 13.1 the vec report shows the loop is vectorized, however when I use ifort 14.0 the vec-report reports that the loop cannot be vectorized. Both codes were compiled uisng the options: -xHost -O2 -vec-report6.

What is the reason ifort 14.0 doesn't vectorize this loop?


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>