[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue Jul 8 11:05:13 2014 New Revision: 212357 URL: https://gcc.gnu.org/viewcvs?rev=212357&root=gcc&view=rev Log: 2014-07-08 Richard Biener PR tree-optimization/61680 * tre

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Jul 8 08:59:17 2014 New Revision: 212348 URL: https://gcc.gnu.org/viewcvs?rev=212348&root=gcc&view=rev Log: 2014-07-08 Richard Biener PR tree-optimization/61680 * tree

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #8 from Richard Biener --- /* When we perform grouped accesses and perform implicit CSE by detecting equal accesses and doing disambiguation with runtime alias tests like for .. = a[

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #6 from Jakub Jelinek --- I think the problem is that for the w array (in C testcase) we have first a partial group store (stores 3 out of 4 elements), then a group load (again, loads 3 out of 4 elements) and finally the last store of

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #5 from Jakub Jelinek --- C testcase: double v[4096][4]; __attribute__((noinline, noclone)) void bar (double p[][4]) { int i; double d = __builtin_sqrt (172.0); for (i = 0; i < 4096; i++) { if (p[i][0] != 6.0 || p[i][

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #4 from Jakub Jelinek --- With -O3 -msse2 -fno-vect-cost-model it fails as well, so this isn't a problem in the AVX support, just that before AVX it wasn't considered profitable to vectorize it.

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 --- Comment #3 from Jakub Jelinek --- With just -mavx -O3 instead of -march=corei7-avx -O3, r165435 still works properly, r165436 ICEs, r165599 fixed the ICE, but the result is 10.0 already.

[Bug tree-optimization/61680] [4.8/4.9/4.10 Regression] vectorization gives wrong answer for sandybridge target

2014-07-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61680 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|