[Top] [All Lists]

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

To: Stuart Brady <>
Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h
From: Ralf Baechle <>
Date: Mon, 30 Jan 2006 17:06:47 +0000
Cc: Grant Grundler <>, Akinobu Mita <>,, Ivan Kokshaysky <>, Ian Molton <>,, David Howells <>, Yoshinori Sato <>, Linus Torvalds <>,, Hirokazu Takata <>,, Greg Ungerer <>,,,,,,,,, Miles Bader <>, Andi Kleen <>, Chris Zankel <>
In-reply-to: <20060129071242.GA24624@miranda.arrow>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <20060129071242.GA24624@miranda.arrow>
User-agent: Mutt/
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.


<Prev in Thread] Current Thread [Next in Thread>