[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 changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[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 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=gcc&view=rev&rev=180424 Log: PR tree-optimization/50596 * tree-vect-stm

[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 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]

[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 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=gcc&view=rev&rev=180057 Log: PR tree-optimization/50596 * tree-vectoriz

[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 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 : 0; unsigned int y

[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 2011-10-07 10:15:03 UTC --- signed char k[1024]; void foo6() { for (int i=0; i!=N; ++i) k[i] = (a[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 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-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596 --- Comment #12 from Jakub Jelinek 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=gcc&view=rev&rev=179626 Log: PR tree-optimization/50596 * tree-vectoriz

[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 changed: What|Removed |Added Attachment #25428|0 |1 is obsolete|

[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 changed: What|Removed |Added CC||irar at il dot ibm.com --- Comment #10 from I

[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 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 could be handled in tree

[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 2011-10-05 07:10:56 UTC --- Until http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176563 float a[1024], b[1024], c[1024], d[1024]; int j[1024]; void foo (void) { int i; for (i = 0; i < 1024; ++i) {

[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 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 2011-10-04 > 11:13:58 UTC -

[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 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 2011-10-04 > 11:13:58 UTC -

[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 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 with arithmetic > and con

[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 changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 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 * b; float * c; float * d; floa

[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 changed: What|Removed |Added CC||irar at gcc dot gnu.org,

[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 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]