[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-25 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-25 08:02:16 UTC --- Author: jakub Date: Tue Oct 25 08:02:08 2011 New Revision: 180424 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180424 Log: PR

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-25 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #16 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-16 13:10:26 UTC --- Author: jakub Date: Sun Oct 16 13:10:20 2011 New Revision: 180057 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=180057 Log: PR

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-16 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #17 from vincenzo Innocente vincenzo.innocente at cern dot ch 2011-10-16 13:47:22 UTC --- cool! even signed char k[1024]; 61void foo6() { 62 for (int i=0; i!=N; ++i) 63k[i] = (a[i]b[i]) (c[i]d[i]);

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-07 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #13 from vincenzo Innocente vincenzo.innocente at cern dot ch 2011-10-07 07:35:40 UTC --- is not PR50649 caused by your changes?

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-07 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #14 from vincenzo Innocente vincenzo.innocente at cern dot ch 2011-10-07 10:15:03 UTC --- signed char k[1024]; void foo6() { for (int i=0; i!=N; ++i) k[i] = (a[i]b[i] ? -1 : 0) (c[i]d[i] ? -1 : 0); } requires -fno-tree-pre to

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-07 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #15 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-07 10:31:13 UTC --- float a[1024], b[1024], c[1024], d[1024]; int j[1024]; void f1 (void) { int i; for (i = 0; i 1024; ++i) { unsigned int x = a[i] b[i] ? -1 :

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-06 11:57:54 UTC --- Created attachment 25428 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=25428 gcc47-vect-condexpr-mixed.patch I believe at least some simple case of bool

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-06 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 Ira Rosen irar at il dot ibm.com changed: What|Removed |Added CC||irar at il dot ibm.com

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #25428|0 |1 is

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #12 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-06 17:49:43 UTC --- Author: jakub Date: Thu Oct 6 17:49:36 2011 New Revision: 179626 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=179626 Log: PR

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-05 07:10:56 UTC --- Until http://gcc.gnu.org/viewcvs?root=gccview=revrev=176563 float a[1024], b[1024], c[1024], d[1024]; int j[1024]; void foo (void) { int i; for (i = 0; i

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||irar at gcc dot

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-04 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #3 from vincenzo Innocente vincenzo.innocente at cern dot ch 2011-10-04 09:11:53 UTC --- for (int i = 0; i 1024; i++) a[i] = b[i] c[i] ? d[i] : e[i]; DOES vectorize with -ftree-loop-if-convert-stores even with float * a; float

[Bug tree-optimization/50596] Problems in vectorization of condition expression

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

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2011-10-04 11:13:58 UTC --- (In reply to comment #4) I agree with the need to at least support vectorizing loads and stores of 1-bit unsigned precision values. We need to be careful

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-04 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #6 from rguenther at suse dot de rguenther at suse dot de 2011-10-04 11:26:51 UTC --- On Tue, 4 Oct 2011, jakub at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #5 from Jakub Jelinek jakub

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-04 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #7 from rguenther at suse dot de rguenther at suse dot de 2011-10-04 11:28:18 UTC --- On Tue, 4 Oct 2011, jakub at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #5 from Jakub Jelinek jakub

[Bug tree-optimization/50596] Problems in vectorization of condition expression

2011-10-03 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #1 from vincenzo Innocente vincenzo.innocente at cern dot ch 2011-10-03 08:40:53 UTC --- manage to vectorize this int j[1024]; void foo5() { for (int i=0; i!=N; ++i) j[i] = (a[i]b[i] ? -1 : 0) (c[i]d[i] ? -1 : 0); } which is