[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||matz at

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #5 from vincenzo Innocente vincenzo.innocente at cern dot ch 2012-11-16 10:56:11 UTC --- is the problem similar to what described in PR55213? or here float mem[3*1024]; void sum() { float * a=mem; const float *

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #7 from Jan Hubicka hubicka at gcc dot gnu.org 2012-11-16 13:19:51 UTC --- The C testcase is simiar - in the mgrid case we are probably able to derrive useful loop bounds now and the dependency analysis could use them (but

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added CC||pthaugen

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-16 13:29:05 UTC --- Ah, on the #c5 testcase the problem seems to be const float * vs. float *, /* If the references do not access the same object, we do not know

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #10 from vincenzo Innocente vincenzo.innocente at cern dot ch 2012-11-16 13:46:13 UTC --- actually looking into the generated code I do not see any trace of runtime check even in presence of const c++ -O3

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #11 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-16 13:55:54 UTC --- (In reply to comment #10) actually looking into the generated code I do not see any trace of runtime check even in presence of const The

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #12 from vincenzo Innocente vincenzo.innocente at cern dot ch 2012-11-16 13:58:33 UTC --- so a better c case is float * mem; void sumN(int n) { float * a=mem; /*const*/ float * b=mem+n; /*const*/ float * c=mem+2*n;

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-16 14:17:00 UTC --- (In reply to comment #12) so a better c case is float * mem; void sumN(int n) { float * a=mem; /*const*/ float * b=mem+n; /*const*/

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 --- Comment #2 from Jan Hubicka hubicka at gcc dot gnu.org 2012-11-15 11:07:10 UTC --- I think the problem is that we somehow make MEM_REF to be base...

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-15 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug tree-optimization/55334] mgrid regression (ipa-cp disables vectorization)

2012-11-14 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334 vincenzo Innocente vincenzo.innocente at cern dot ch changed: What|Removed |Added CC|