This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79489] Strange static branch prediction for n != 0
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Jun 2017 07:18:36 +0000
- Subject: [Bug tree-optimization/79489] Strange static branch prediction for n != 0
- Auto-submitted: auto-generated
- References: <bug-79489-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79489
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
Partially improved, as both return statements are properly assigned 'early
return' predictors. Making this sample even probability. As mentioned in my
previous comment, nonzero predictor is not much successful. Thus leaving the PR
not assigned to me ;)