This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34265] Missed optimizations
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2007 16:06:06 -0000
- Subject: [Bug tree-optimization/34265] Missed optimizations
- References: <bug-34265-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-28 16:06 -------
GCC doesn't have a facility to split the inner loop and move it out of the
outer loops by introducing a array temporary.
As for completely unrolling, this only happens for innermost loops(?) and you
can tune the heuristics with --param max-completely-peeled-insns=N (defaults to
400) and --param max-completely-peel-times (defaults to 16). Use
-funroll-loops
to enable this.
Note that complete unrolling happens too late to help LIM or vectorization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34265