Re: [PATCH] arch/tile: Rename the hweight() implementations to __arch_hweight().

From: Mike Frysinger
Date: Fri Aug 13 2010 - 21:03:07 EST


On Fri, Aug 13, 2010 at 20:32, Chris Metcalf wrote:
> Mike, thanks for the pointer to the hweight issue. ÂSince we are using
> __builtin_popcount() and the compiler can do constant propagation, etc.,
> with it at compile-time, this is less critical, but it seems like the
> easiest way to get the definitions of the HWEIGHT macros.

interesting ... i wasnt aware of the popcount builtin. the Blackfin
ISA has a "ONES" insn which does this. guess we should implement the
popcount builtin too.
-mike
--
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/