[Bug middle-end/77484] [6/7 Regression] Static branch predictor causes ~6-8% regression of SPEC2000 GAP
wilco at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 1 14:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484
wilco at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilco at gcc dot gnu.org
--- Comment #5 from wilco at gcc dot gnu.org ---
(In reply to Jan Hubicka from comment #4)
> Wilco,
> do you have a specific function where this happens?
>
> Martin,
> do you know what is hitrate of call predictor here? I am not sure how much
> we can do about this (it is all heuristics after all).
Top functions in the profile with this issue are EvElmList, Sum, EvAssList,
Diff, Prod. It's the macro EVAL, it does a test and then an indirect call. If
is used multiple times in a row all the extra taken branches start to take
their toll.
More information about the Gcc-bugs
mailing list