← Back to team overview

yade-dev team mailing list archive

Re: likely/unlikely expressions

 

2010/11/30 Václav Šmilauer <eu@xxxxxxxx>

>
>  GCC needs additional option for compiling -fprofile-generate
>> http://stackoverflow.com/questions/1851299/is-it-possible-to-tell-the-branch-predictor-how-likely-it-is-to-follow-the-branch
>> And then those examples are working.
>>
> Oh, you can sun scons with arcs=gen or arcs=use, that will turn on branch
> profile generation/usage. When I tried it, it made no difference (long time
> ago), does it mean we need to use additional arguments to gcc to make it
> really work? Thanks for the link, I will read it in train, it looks
> interesting.
>
>
We can try and measure productivity with additional parameter. If it really
helps, why not. Bit I think, first of all, we should add more of those
"likely/unlikely" expressions to get the difference.


>
> Cheers, v
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References