From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D2487DDEC9 for ; Thu, 22 Nov 2007 06:23:00 +1100 (EST) Message-Id: From: Kumar Gala To: Geert Uytterhoeven In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [PATCH] [POWERPC] Emulate isel (Integer Select) instruction Date: Wed, 21 Nov 2007 13:22:51 -0600 References: <20071120175416.GA4389@loki.buserror.net> <7D40FA9E-A972-4995-85AE-3CE2551BB195@kernel.crashing.org> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Nov 21, 2007, at 10:50 AM, Geert Uytterhoeven wrote: > On Wed, 21 Nov 2007, Kumar Gala wrote: >> On Nov 21, 2007, at 7:09 AM, Geert Uytterhoeven wrote: >>> On Tue, 20 Nov 2007, Kumar Gala wrote: >>>> On Nov 20, 2007, at 11:54 AM, Scott Wood wrote: >>>>> Given that the instruction is meant to be a performance >>>>> enhancement, >>>>> we should probably warn the first few times it's emulated, so >>>>> the user >>>>> knows they should change their toolchain setup if possible. >>>> >>>> The same is true of mcrxr, popcntb, and possibly string ld/st. >>>> >>>> Feel free to submit a patch that warns about their usage. >> >> How about some per processor counters in sysfs under the processor. > > Per processor? That means it has to be per_cpu, which sounds a bit > like > overkill to me. I can probably live with global, not sure that would work with sysfs. - k