[Bug tree-optimization/18767] No vectorization for simple loop
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 21 01:33:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-21 01:33 -------
With -ffast-math on the mainline, we get:
_Z6foobarv:
.LFB2:
movaps b(%rip), %xmm1
mulps a(%rip), %xmm1
movaps %xmm1, %xmm2
movaps %xmm1, %xmm0
shufps $85, %xmm1, %xmm2
addss %xmm2, %xmm0
movaps %xmm1, %xmm2
unpckhps %xmm1, %xmm2
shufps $255, %xmm1, %xmm1
addss %xmm2, %xmm0
addss %xmm1, %xmm0
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18767
More information about the Gcc-bugs
mailing list