[Bug tree-optimization/61194] vectorization failed with "bit-precision arithmetic not supported" even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #2 from vincenzo Innocente --- new test code cat cond0.cc float x[1024]; float y[1024]; float z[1024]; float w[1024]; int k[1024]; void barX() { for (int i=0; i<1024; ++i) { k[i] = (x[i]>0) & (w[i] 0.0 ? patt_25 : 0; Vectori

[Bug tree-optimization/61194] vectorization failed with "bit-precision arithmetic not supported" even if conversion to int is requested

2014-05-15 Thread vincenzo.innocente at cern dot ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61194 --- Comment #1 from vincenzo Innocente --- what I find quite absurd is that void barX() { for (int i=0; i<1024; ++i) { k[i] = x[i]>0; k[i] &= w[i]0; k[i] &= w[i]