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

David S. Miller davem at davemloft.net
Tue Jan 31 10:02:44 EST 2006

From: Stuart Brady <sdbrady at ntlworld.com>
Date: Mon, 30 Jan 2006 19:50:04 +0000

> Shame about popc on SPARC.  However, ffz is cheese, regardless of pops.
> (On sparc64, ffs is too.)  I'll wait for the generic bitops patches to
> be dealt with (or not) and then submit a patch fixing this if needed.

I'm happy with any improvement you might make here, for sure.

The sparc64 ffz() implementation was done so dog stupid like that
so that the code would be small since this gets inlined all over
the place.

So if you can keep it small and improve it, or make it a bit larger
and uninline it, that's great.

More information about the Linuxppc-dev mailing list