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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.