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

From: David Howells <[email-masked]>
Date: Mon, 18 Feb 2008 14:27:10 +0000

Geert Uytterhoeven <[email-masked]> wrote:

> Hence shouldn't we ask the gcc people what's the purpose of
> __builtin_expect(), if it doesn't live up to its promise?

__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.

David