------- 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