------- Additional Comments From cjb at mrao dot cam dot ac dot uk 2005-03-05 15:53 ------- > No you are no missing reading. This is vectorized on x86 but not on PPC.
Thanks, Andrew. I'm also having trouble reproducing it on PPC (under OS X 10.3.4), though. Same GCC source tree and test source, and: % ./g++ -O2 -maltivec -ftree-vectorize -fdump-tree-vect-stats -ftree-vectorizer-verbose=9 -S 18546.cpp 18546.cpp:9: note: LOOP VECTORIZED. 18546.cpp:6: note: vectorized 1 loops in function. The generated .t55.vect is a tiny diff away from the x86 version; I'll attach it and the generated asm. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18546