This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32825] Reduction with nonzero start (arbitrary also) causes an extra add to happen
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Jan 2012 03:03:51 +0000
- Subject: [Bug tree-optimization/32825] Reduction with nonzero start (arbitrary also) causes an extra add to happen
- Auto-submitted: auto-generated
- References: <bug-32825-4@http.gcc.gnu.org/bugzilla/>
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