This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]