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

From
David S. Miller <davem@davemloft.net>
Date
2006-01-30 23:03:57
Also in
linux-mips, lkml, sparclinux
Reply to
Stuart Brady, 2006-01-30
From: Stuart Brady <redacted>
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.
Thread (30 messages) 30 messages, 15 authors, 2006-01-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help