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

From: David S. Miller
Date: Mon Jan 30 2006 - 18:02:12 EST


From: Stuart Brady <sdbrady@xxxxxxxxxxxx>
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.
-
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/