------- Comment #6 from wbrana at gmail dot com 2010-04-08 18:31 ------- Loop is vectorized with GCC 4.4 if these flags are used: -O1 -ftree-vectorize -march=core2
.LFB0:
.cfi_startproc
movaps b(%rip), %xmm0
addps c(%rip), %xmm0
movaps %xmm0, a(%rip)
ret
.cfi_endproc
How can I prevent unrolling of this loop with O3 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43692
