Re: [PATCH 2/5] bitops: compile time optimization for hweight_long(CONSTANT)

From: H. Peter Anvin
Date: Wed Feb 03 2010 - 12:16:39 EST


On 02/03/2010 07:47 AM, Peter Zijlstra wrote:
>
> From what I know the popcnt ins on x86 is relatively new, hpa was going
> to look at supporting it using alternatives.
>

And kernel-specific stuff like alternatives is pretty much the one thing
that gcc *can't* do for us.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/