[lkml]   [2008]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Cbe-oss-dev] [PATCH 1/3] Fix Unlikely(x) == y
    On Feb 18, 2008 6:01 AM, Geert Uytterhoeven
    <> wrote:
    > > This means it generates faster code with a current gcc for your platform.
    > >
    > > But a future gcc might e.g. replace the whole loop with a division
    > > (gcc SVN head (that will soon become gcc 4.3) already does
    > > transformations like replacing loops with divisions [1]).

    Yes but the issue is one optimization inside GCC does not take into
    account the probability in one case.

    And really there is a bug in the linux kernel for not implementing the
    long long divide function (or really using libgcc) but that is a
    different story and is part of the issue there anyways.

    -- Pinski

     \ /
      Last update: 2008-02-18 20:25    [W:0.020 / U:0.956 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site