[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86: generic versions of find_first_(zero_)bit, convert i386

    * dean gaudet <> wrote:

    > On Sun, 6 Apr 2008, Alexander van Heukelum wrote:
    > > The current generic implementation of ffz is O(lg(n)) already
    > it's O(lg(n)) time... the operations all depend on each other.
    > the implementation i pointed to is O(lg(n)) code space... and the time
    > depends on how parallel the machine is, they're not dependent on each
    > other.

    yep, i'd suggest we gravitate towards such a no-dependencies
    implementation for the generic code - especially modern CPUs would be
    able to execute them rather efficiently.


     \ /
      Last update: 2008-04-07 10:47    [W:0.022 / U:3.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site