]> git.sesse.net Git - stockfish/commitdiff
Don't use __builtin_expect
authorMarco Costalba <mcostalba@gmail.com>
Mon, 15 Jul 2013 19:09:06 +0000 (21:09 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 15 Jul 2013 19:09:06 +0000 (21:09 +0200)
Partially revert previous patch and use
unlikey() just as code annotation.

Actually it is better to rely on a profiler for branch prediction:

http://blog.man7.org/2012/10/how-much-do-builtinexpect-likely-and.html

"In fact, even when only one in ten thousand values is nonzero,
we're still at only roughly the break-even point"

No functional change,


No differences found