This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/56770] Partial sums loop optimization
- From: "dje at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Mar 2013 18:11:54 +0000
- Subject: [Bug tree-optimization/56770] Partial sums loop optimization
- Auto-submitted: auto-generated
- References: <bug-56770-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56770
--- Comment #3 from David Edelsohn <dje at gcc dot gnu.org> 2013-03-29 18:11:54 UTC ---
I tried -funroll-loops -fvariable-expansion-in-unroller. I did not see any
additional benefit from -fvariable-expansion-in-unroller.
Unrolling helped somewhat, the intermediate sum was computed in each loop
iteration instead of sunk after the loop.