From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Date: Mon, 30 Jan 2006 04:03:35 +0000 Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of Message-Id: <20060129.200335.69237695.davem@davemloft.net> List-Id: References: <20060126230443.GC13632@colo.lackof.org> <20060126230353.GC27222@flint.arm.linux.org.uk> <20060129071242.GA24624@miranda.arrow> In-Reply-To: <20060129071242.GA24624@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sdbrady@ntlworld.com Cc: grundler@parisc-linux.org, mita@miraclelinux.com, linux-kernel@vger.kernel.org, ink@jurassic.park.msu.ru, spyro@f2s.com, dev-etrax@axis.com, dhowells@redhat.com, ysato@users.sourceforge.jp, torvalds@osdl.org, linux-ia64@vger.kernel.org, takata@linux-m32r.org, linux-m68k@vger.kernel.org, gerg@uclinux.org, 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, uclinux-v850@lsi.nec.co.jp, ak@suse.de, chris@zankel.net From: Stuart Brady Date: Sun, 29 Jan 2006 07:12:42 +0000 > There are versions of hweight*() for sparc64 which use POPC when > ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined. That's right, the problem here is that no chips actually implement the instruction in hardware, it is software emulated, ie. useless :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 30 Jan 2006 03:59:02 +0000 (GMT) Received: from dsl027-180-168.sfo1.dsl.speakeasy.net ([216.27.180.168]:15748 "EHLO sunset.davemloft.net") by ftp.linux-mips.org with ESMTP id S8133522AbWA3D6p (ORCPT ); Mon, 30 Jan 2006 03:58:45 +0000 Received: from localhost ([127.0.0.1] ident=davem) by sunset.davemloft.net with esmtp (Exim 4.60) (envelope-from ) id 1F3QGN-00084f-P9; Sun, 29 Jan 2006 20:03:35 -0800 Date: Sun, 29 Jan 2006 20:03:35 -0800 (PST) Message-Id: <20060129.200335.69237695.davem@davemloft.net> To: sdbrady@ntlworld.com Cc: grundler@parisc-linux.org, mita@miraclelinux.com, linux-kernel@vger.kernel.org, ink@jurassic.park.msu.ru, spyro@f2s.com, dev-etrax@axis.com, dhowells@redhat.com, ysato@users.sourceforge.jp, torvalds@osdl.org, linux-ia64@vger.kernel.org, takata@linux-m32r.org, linux-m68k@lists.linux-m68k.org, gerg@uclinux.org, 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, uclinux-v850@lsi.nec.co.jp, ak@suse.de, chris@zankel.net Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h From: "David S. Miller" In-Reply-To: <20060129071242.GA24624@miranda.arrow> References: <20060126230443.GC13632@colo.lackof.org> <20060126230353.GC27222@flint.arm.linux.org.uk> <20060129071242.GA24624@miranda.arrow> X-Mailer: Mew version 4.2.53 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 10227 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: davem@davemloft.net Precedence: bulk X-list: linux-mips From: Stuart Brady Date: Sun, 29 Jan 2006 07:12:42 +0000 > There are versions of hweight*() for sparc64 which use POPC when > ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined. That's right, the problem here is that no chips actually implement the instruction in hardware, it is software emulated, ie. useless :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sunset.davemloft.net (dsl027-180-168.sfo1.dsl.speakeasy.net [216.27.180.168]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id C0C0F68ACE for ; Mon, 30 Jan 2006 15:03:41 +1100 (EST) Date: Sun, 29 Jan 2006 20:03:35 -0800 (PST) Message-Id: <20060129.200335.69237695.davem@davemloft.net> To: sdbrady@ntlworld.com Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h From: "David S. Miller" In-Reply-To: <20060129071242.GA24624@miranda.arrow> References: <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 Cc: linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, spyro@f2s.com, ak@suse.de, dhowells@redhat.com, linuxppc-dev@ozlabs.org, gerg@uclinux.org, sparclinux@vger.kernel.org, uclinux-v850@lsi.nec.co.jp, ysato@users.sourceforge.jp, takata@linux-m32r.org, linuxsh-shmedia-dev@lists.sourceforge.net, grundler@parisc-linux.org, torvalds@osdl.org, ink@jurassic.park.msu.ru, mita@miraclelinux.com, chris@zankel.net, dev-etrax@axis.com, ultralinux@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linuxsh-dev@lists.sourceforge.net, linux390@de.ibm.com, parisc-linux@parisc-linux.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Stuart Brady Date: Sun, 29 Jan 2006 07:12:42 +0000 > There are versions of hweight*() for sparc64 which use POPC when > ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined. That's right, the problem here is that no chips actually implement the instruction in hardware, it is software emulated, ie. useless :-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Date: Mon, 30 Jan 2006 04:03:35 +0000 Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of Message-Id: <20060129.200335.69237695.davem@davemloft.net> List-Id: References: <20060126230443.GC13632@colo.lackof.org> <20060126230353.GC27222@flint.arm.linux.org.uk> <20060129071242.GA24624@miranda.arrow> In-Reply-To: <20060129071242.GA24624@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sdbrady@ntlworld.com Cc: grundler@parisc-linux.org, mita@miraclelinux.com, linux-kernel@vger.kernel.org, ink@jurassic.park.msu.ru, spyro@f2s.com, dev-etrax@axis.com, dhowells@redhat.com, ysato@users.sourceforge.jp, torvalds@osdl.org, linux-ia64@vger.kernel.org, takata@linux-m32r.org, linux-m68k@lists.linux-m68k.org, gerg@uclinux.org, 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, uclinux-v850@lsi.nec.co.jp, ak@suse.de, chris@zankel.net From: Stuart Brady Date: Sun, 29 Jan 2006 07:12:42 +0000 > There are versions of hweight*() for sparc64 which use POPC when > ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined. That's right, the problem here is that no chips actually implement the instruction in hardware, it is software emulated, ie. useless :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750805AbWA3EDf (ORCPT ); Sun, 29 Jan 2006 23:03:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750866AbWA3EDe (ORCPT ); Sun, 29 Jan 2006 23:03:34 -0500 Received: from dsl027-180-168.sfo1.dsl.speakeasy.net ([216.27.180.168]:16361 "EHLO sunset.davemloft.net") by vger.kernel.org with ESMTP id S1750805AbWA3EDd (ORCPT ); Sun, 29 Jan 2006 23:03:33 -0500 Date: Sun, 29 Jan 2006 20:03:35 -0800 (PST) Message-Id: <20060129.200335.69237695.davem@davemloft.net> To: sdbrady@ntlworld.com Cc: grundler@parisc-linux.org, mita@miraclelinux.com, linux-kernel@vger.kernel.org, ink@jurassic.park.msu.ru, spyro@f2s.com, dev-etrax@axis.com, dhowells@redhat.com, ysato@users.sourceforge.jp, torvalds@osdl.org, linux-ia64@vger.kernel.org, takata@linux-m32r.org, linux-m68k@vger.kernel.org, gerg@uclinux.org, 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, uclinux-v850@lsi.nec.co.jp, ak@suse.de, chris@zankel.net Subject: Re: [parisc-linux] Re: [PATCH 3/6] C-language equivalents of include/asm-*/bitops.h From: "David S. Miller" In-Reply-To: <20060129071242.GA24624@miranda.arrow> References: <20060126230443.GC13632@colo.lackof.org> <20060126230353.GC27222@flint.arm.linux.org.uk> <20060129071242.GA24624@miranda.arrow> X-Mailer: Mew version 4.2.53 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org From: Stuart Brady Date: Sun, 29 Jan 2006 07:12:42 +0000 > There are versions of hweight*() for sparc64 which use POPC when > ULTRA_HAS_POPULATION_COUNT is defined, but AFAICS, it's never defined. That's right, the problem here is that no chips actually implement the instruction in hardware, it is software emulated, ie. useless :-)