[Bug tree-optimization/50374] Support vectorization of min/max location pattern
vincenzo.innocente at cern dot ch
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 08:52:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50374
--- Comment #3 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-09-13 08:45:40 UTC ---
with
gcc version 4.7.0 20110910 (experimental) (GCC)
int lmin(float const * __restrict__ c, int N) {
int k=0;
for (int i=1; i!=N; ++i)
k = (c[k] > c[i]) ? i : k;
return k;
}
does not vectorize.
any suggestion how to modify it?
More information about the Gcc-bugs
mailing list