lkml.org 
[lkml]   [2008]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/3] Fix Unlikely(x) == y
    Date
    Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> 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


    \
     
     \ /
      Last update: 2008-02-18 15:31    [W:0.102 / U:0.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site