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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Friday, March 14, 2008 - 2: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, 1:01 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Jeremy Fitzhardinge, (Fri Mar 14, 11:07 am)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Alexander van Heukelum, (Fri Mar 14, 12:43 pm)
[PATCH v2] x86: merge the simple bitops and move them to b ..., Alexander van Heukelum, (Fri Mar 14, 1:35 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Jeremy Fitzhardinge, (Fri Mar 14, 2:15 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Alexander van Heukelum, (Fri Mar 14, 2:33 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Andi Kleen, (Fri Mar 14, 2:42 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Alexander van Heukelum, (Fri Mar 14, 3:01 pm)
[PATCH v3] x86: merge the simple bitops and move them to b ..., Alexander van Heukelum, (Sat Mar 15, 5:04 am)
Re: [PATCH] x86: merge the simple bitops and move them to ..., Alexander van Heukelum, (Sat Mar 15, 10:54 am)
K8, EFFICEON and CORE2 support the cmovxx instructions., Alexander van Heukelum, (Sat Mar 15, 12:19 pm)
Re: K8, EFFICEON and CORE2 support the cmovxx instructions., Alexander van Heukelum, (Sat Mar 15, 2:06 pm)
[PATCH] x86: K8, GEODE_LX, CRUSOE, EFFICEON and CORE2 supp ..., Alexander van Heukelum, (Sun Mar 16, 6:16 am)