This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65492] Bad optimization in -O3 on SSE intrinsics
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Mar 2015 14:02:25 +0000
- Subject: [Bug tree-optimization/65492] Bad optimization in -O3 on SSE intrinsics
- Auto-submitted: auto-generated
- References: <bug-65492-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65492
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
--param max-peel-branches default of 32 seems to be quite high. For this
loop we have two branches on the hot path and 4 times unrolling.
Honza - how did you arrive at the default of 32? Shouldn't that depend
on the number of other stmts thus rather look at branch density?
Similarly late unrolling should take conditional stmts (COND_EXPR rhs_code)
into account?
Especially as we don't really estimate anything to become constant after
unrolling.