Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCLKa-0003tW-UK for qemu-devel@nongnu.org; Mon, 15 Dec 2008 16:50:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCLKZ-0003rp-3K for qemu-devel@nongnu.org; Mon, 15 Dec 2008 16:50:23 -0500 Received: from [199.232.76.173] (port=44012 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCLKY-0003rd-KI for qemu-devel@nongnu.org; Mon, 15 Dec 2008 16:50:22 -0500 Received: from hall.aurel32.net ([88.191.82.174]:36530) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCLKY-0005oZ-6J for qemu-devel@nongnu.org; Mon, 15 Dec 2008 16:50:22 -0500 Received: from aurel32 by hall.aurel32.net with local (Exim 4.63) (envelope-from ) id 1LCLKT-0001jA-Cu for qemu-devel@nongnu.org; Mon, 15 Dec 2008 22:50:17 +0100 Date: Mon, 15 Dec 2008 22:50:17 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [6054] target-ppc: enable PRECISE_EMULATION by default Message-ID: <20081215215017.GW22069@hall.aurel32.net> References: <761ea48b0812150957g6116fd9bja28082bc7b8f626d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <761ea48b0812150957g6116fd9bja28082bc7b8f626d@mail.gmail.com> Sender: Aurelien Jarno Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon, Dec 15, 2008 at 06:57:39PM +0100, Laurent Desnogues wrote: > On Mon, Dec 15, 2008 at 6:14 PM, Aurelien Jarno wrote: > > Revision: 6054 > > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6054 > > Author: aurel32 > > Date: 2008-12-15 17:14:50 +0000 (Mon, 15 Dec 2008) > > > > Log Message: > > ----------- > > target-ppc: enable PRECISE_EMULATION by default > > > > With this option enabled, all glibc math tests pass. > [...] > > /* For normal operations, precise emulation should not be needed */ > > //#define USE_PRECISE_EMULATION 1 > > -#define USE_PRECISE_EMULATION 0 > > +#define USE_PRECISE_EMULATION 1 > > Shouldn't you change the comment too so that one can track > why USE_PRECISE_EMULATION is needed? That is fixed in revision 6058. BTW I wonder if we should really maintain two versions of the code that in most case only differs by a few checks on the operand. Those checks are a and operation followed by a comparison, so they probably take very few time compared to the actual computation. Any opinion? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net