[PATCH 1/3] Fix Unlikely(x) == y

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Feb 19 05:11:06 EST 2008


On Mon, 18 Feb 2008 14:27:10 GMT, David Howells said:

> __builtin_expect() is useful on FRV where you _have_ to give each branch and
> conditional branch instruction a measure of probability whether the branch
> will be taken.

What does gcc do the 99.998% of the time we don't have likely/unlikely coded?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080218/8279a3f1/attachment.pgp>


More information about the Linuxppc-dev mailing list