[Bug tree-optimization/32825] Reduction with nonzero start (arbitrary also) causes an extra add to happen
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jan 28 03:18:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32825
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-01-28
Ever Confirmed|0 |1
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-28 03:03:51 UTC ---
Even on x86, it is just as fast to generate {0,0,0,0} as it is {e,0,0,0}:
movd %edi, %xmm0
or:
xorps %xmm1, %xmm1
movss %xmm0, %xmm1
movaps %xmm1, %xmm0
More information about the Gcc-bugs
mailing list