From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964818AbWA3RTP (ORCPT ); Mon, 30 Jan 2006 12:19:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964810AbWA3RTP (ORCPT ); Mon, 30 Jan 2006 12:19:15 -0500 Received: from mipsfw.mips-uk.com ([194.74.144.146]:42252 "EHLO bacchus.net.dhis.org") by vger.kernel.org with ESMTP id S964807AbWA3RTN (ORCPT ); Mon, 30 Jan 2006 12:19:13 -0500 Date: Mon, 30 Jan 2006 17:06:47 +0000 From: Ralf Baechle To: Stuart Brady Cc: Grant Grundler , Akinobu Mita , linux-kernel@vger.kernel.org, Ivan Kokshaysky , Ian Molton , dev-etrax@axis.com, David Howells , Yoshinori Sato , Linus Torvalds , linux-ia64@vger.kernel.org, Hirokazu Takata , linux-m68k@vger.kernel.org, Greg Ungerer , linux-mips@linux-mips.org, parisc-linux@parisc-linux.org, linuxppc-dev@ozlabs.org, linux390@de.ibm.com, linuxsh-dev@lists.sourceforge.net, linuxsh-shmedia-dev@lists.sourceforge.net, sparclinux@vger.kernel.org, ultralinux@vger.kernel.org, Miles Bader , Andi Kleen , Chris Zankel Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h Message-ID: <20060130170647.GC3816@linux-mips.org> References: <20060125112625.GA18584@miraclelinux.com> <20060125113206.GD18584@miraclelinux.com> <20060125200250.GA26443@flint.arm.linux.org.uk> <20060126000618.GA5592@twiddle.net> <20060126085540.GA15377@flint.arm.linux.org.uk> <20060126161849.GA13632@colo.lackof.org> <20060126164020.GA27222@flint.arm.linux.org.uk> <20060126230443.GC13632@colo.lackof.org> <20060126230353.GC27222@flint.arm.linux.org.uk> <20060129071242.GA24624@miranda.arrow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060129071242.GA24624@miranda.arrow> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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