login
Header Space

 
 

[0/3] Improve generic fls64 for 64-bit machines

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, linux-arch <linux-arch@...>
Cc: Ingo Molnar <mingo@...>, Andi Kleen <andi@...>, LKML <linux-kernel@...>
Date: Saturday, March 15, 2008 - 1:29 pm

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.

If this patch series is accepted, it will make one tiny bit of
the x86-unification a tiny bit cleaner. The patches are against
Linus' current tree.

Andrew, if no concensus can be reached that this is a bad patch
series, would you be willing to add this to your tree?

Greetings,
	Alexander
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[0/3] Improve generic fls64 for 64-bit machines, Alexander van Heukelum, (Sat Mar 15, 1:29 pm)
Re: [0/3] Improve generic fls64 for 64-bit machines, Benny Halevy, (Thu Apr 3, 1:19 pm)
Re: [0/3] Improve generic fls64 for 64-bit machines, Alexander van Heukelum, (Fri Apr 4, 10:22 am)
Re: [0/3] Improve generic fls64 for 64-bit machines, Benny Halevy, (Sun Apr 6, 11:03 am)
Re: [0/3] Improve generic fls64 for 64-bit machines, Alexander van Heukelum, (Sun Apr 6, 3:10 pm)
Re: [0/3] Improve generic fls64 for 64-bit machines, Ingo Molnar, (Fri Mar 21, 9:10 am)
[3/3] Use __fls for fls64 on 64-bit archs, Alexander van Heukelum, (Sat Mar 15, 1:32 pm)
Re: [3/3] Use __fls for fls64 on 64-bit archs, Ricardo M. Correia, (Sat Jul 5, 12:56 pm)
[PATCH] x86: fix description of __fls(): __fls(0) is undefined, Alexander van Heukelum, (Sat Jul 5, 1:53 pm)
[2/3] Implement __fls on all 64-bit archs, Alexander van Heukelum, (Sat Mar 15, 1:31 pm)
[1/3] Introduce a generic __fls implementation, Alexander van Heukelum, (Sat Mar 15, 1:30 pm)
speck-geostationary