[parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h

David S. Miller davem at davemloft.net
Mon Jan 30 15:03:35 EST 2006


From: Stuart Brady <sdbrady at ntlworld.com>
Date: Sun, 29 Jan 2006 07:12:42 +0000

> There are versions of hweight*() for sparc64 which use POPC when
> ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined.

That's right, the problem here is that no chips actually implement
the instruction in hardware, it is software emulated, ie. useless :-)



More information about the Linuxppc-dev mailing list