Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
Ralf Baechle <[email protected]>
| Newsgroups | gmane.linux.ports.mips.general,gmane.linux.kernel,gmane.linux.ports.ia64,gmane.linux.ports.hppa,gmane.linux.ports.ppc.devel,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.ports.ultrapenguin |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jan 29, 2006 at 07:12:42AM +0000, Stuart Brady wrote: > On MIPS, fls() and flz() should probably use CLO. It actually uses clz. > Curiously, MIPS is the only arch with a flz() function. No longer. The fls implementation was based on flz and fls was the only user of flz. So I cleaned that, once I commit flz will be gone. Not only a cleanup but also a minor optimization. Ralf