On Thu, Feb 25, 2016 at 7:25 AM, Nicolas George wrote:
> Le sextidi 6 ventôse, an CCXXIV, Ganesh Ajjanagadde a écrit :
>> Actual performance benefit is impossible to accurately quantify due to the
>> context-dependence of the branch predictor. Nonetheless, as a ballpark
>> estimate, it yields ~ 5%
Le sextidi 6 ventôse, an CCXXIV, Ganesh Ajjanagadde a écrit :
> Actual performance benefit is impossible to accurately quantify due to the
> context-dependence of the branch predictor. Nonetheless, as a ballpark
> estimate, it yields ~ 5% improvements in testing via FATE on x86-64,
> Haswell+GCC.
From: Ganesh Ajjanagadde
Merely a simple illustration of av_unlikely's utility; there are
certainly more interesting use cases.
Actual performance benefit is impossible to accurately quantify due to the
context-dependence of the branch predictor. Nonetheless, as a ballpark
estimate, it yields ~