Re: diff to speed up fdalloc using two-level bitmaps
Jason Thorpe <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.performance |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, October 28, 2003, at 08:25 AM, Niels Provos wrote:
> An inline assembly function for finding the first zero bit in a
> word would be a great thing to have across architectures.
Note that GCC has an ffs() built-in, so it will already inline that if
the CPU back-end for the compiler provides the appropriate pattern.
-- Jason R. Thorpe <[email protected]>