This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50596] Problems in vectorization of condition expression
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Oct 2011 13:47:22 +0000
- Subject: [Bug tree-optimization/50596] Problems in vectorization of condition expression
- Auto-submitted: auto-generated
- References: <bug-50596-4@http.gcc.gnu.org/bugzilla/>
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];
61 void foo6() {
62 for (int i=0; i!=N; ++i)
63 k[i] = (a[i]<b[i]) & (c[i]<d[i]);
vectorize!
with
bool k[1024];
does not. I can survive though.
I will have to measure performance. I suspect that using
int k[1024];
will be fasterâ
Anyhow great achievement