lkml.org 
[lkml]   [2008]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [0/3] Improve generic fls64 for 64-bit machines

    * Alexander van Heukelum <heukelum@mailshack.com> wrote:

    > This series of patches:
    >
    > [1/3] adds __fls.h to asm-generic
    > [2/3] modifies asm-*/bitops.h for 64-bit archs to implement __fls
    > [3/3] modifies asm-generic/fls64.h to make use of __fls
    >
    > I have compiled i386 and x86_64, and they generate the same code as
    > before the change. The changes to the other archs are a best effort.
    > Please comment.

    i've applied #1 and #3 to x86.git/testing, to see how this works out on
    x86. But it looks good to me in general.

    Ingo


    \
     
     \ /
      Last update: 2008-03-21 14:13    [W:3.767 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site