login
Header Space

 
 

Re: [PATCH] x86: merge the simple bitops and move them to bitops.h

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alexander van Heukelum <heukelum@...>
Cc: Andi Kleen <andi@...>, Jeremy Fitzhardinge <jeremy@...>, Alexander van Heukelum <heukelum@...>, Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, LKML <linux-kernel@...>
Date: Friday, March 14, 2008 - 5:42 pm

On Fri, Mar 14, 2008 at 10:33:29PM +0100, Alexander van Heukelum wrote:

That's still far more than the single 64bit instruction fls64 uses


I don't think your feeling is correct.


It is this way because the callers in 95+% of all cases only
set a single bit. For that case it is not slow.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: merge the simple bitops and move them to bitops.h, Alexander van Heukelum, (Wed Mar 12, 4:01 pm)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Jeremy Fitzhardinge, (Fri Mar 14, 2:07 pm)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Alexander van Heukelum, (Fri Mar 14, 3:43 pm)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Jeremy Fitzhardinge, (Fri Mar 14, 5:15 pm)
[PATCH v2] x86: merge the simple bitops and move them to bit..., Alexander van Heukelum, (Fri Mar 14, 4:35 pm)
[PATCH v3] x86: merge the simple bitops and move them to bit..., Alexander van Heukelum, (Sat Mar 15, 8:04 am)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Alexander van Heukelum, (Fri Mar 14, 5:33 pm)
K8, EFFICEON and CORE2 support the cmovxx instructions., Alexander van Heukelum, (Sat Mar 15, 3:19 pm)
Re: K8, EFFICEON and CORE2 support the cmovxx instructions., Alexander van Heukelum, (Sat Mar 15, 5:06 pm)
[PATCH] x86: K8, GEODE_LX, CRUSOE, EFFICEON and CORE2 suppor..., Alexander van Heukelum, (Sun Mar 16, 9:16 am)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Andi Kleen, (Fri Mar 14, 5:42 pm)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Alexander van Heukelum, (Fri Mar 14, 6:01 pm)
Re: [PATCH] x86: merge the simple bitops and move them to bi..., Alexander van Heukelum, (Sat Mar 15, 1:54 pm)
speck-geostationary