[Bug tree-optimization/49849] loop optimization prevents vectorization

2011-07-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49849 Richard Guenther changed: What|Removed |Added CC||spop at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/49849] loop optimization prevents vectorization

2011-07-26 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49849 --- Comment #3 from vincenzo Innocente 2011-07-26 09:38:13 UTC --- Thanks Richard, --param max-completely-peel-times=1 does the trick and, in my real life example, does not have any adverse effect elsewhere while it speeds up the loop as expected

[Bug tree-optimization/49849] loop optimization prevents vectorization

2011-07-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49849 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/49849] loop optimization prevents vectorization

2011-07-26 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49849 --- Comment #1 from vincenzo Innocente 2011-07-26 08:30:45 UTC --- it may be a duplicate of my own PR49730 as void bar2(int jj) { const int S=8; float x[S]; float y[S]; int j = jj*S; for (int i=0; i!=S; ++i) x[i] = co[k[j+i]]; fo