← Back to team overview

yade-dev team mailing list archive

Re: likely/unlikely expressions

 


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.

Cheers, v





Follow ups

References