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)
commit46fdb14b2f51386d14b3fd0ad49f511bb491bed6
tree4879ec733dc590cedf48742675934484ec4427ef
parentcbb1a8ed31679fe32d2694448a10b031390a32b3
Don't use __builtin_expect

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,
src/types.h