Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0CaQ-0001h8-Aq for qemu-devel@nongnu.org; Wed, 12 Nov 2008 05:04:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0CaP-0001gm-DV for qemu-devel@nongnu.org; Wed, 12 Nov 2008 05:04:33 -0500 Received: from [199.232.76.173] (port=60057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0CaO-0001gi-UG for qemu-devel@nongnu.org; Wed, 12 Nov 2008 05:04:32 -0500 Received: from hall.aurel32.net ([88.191.82.174]:35995) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L0CaO-00040b-52 for qemu-devel@nongnu.org; Wed, 12 Nov 2008 05:04:32 -0500 Date: Wed, 12 Nov 2008 11:04:29 +0100 From: =?iso-8859-15?Q?Aur=E9lien?= Jarno Subject: Re: [Qemu-devel] [5675] target-mips: optimize gen_save_pc() Message-ID: <20081112100429.GB24993@volta.aurel32.net> References: <052CCCAD-129F-4D0F-975A-DC70FA6FE57D@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <052CCCAD-129F-4D0F-975A-DC70FA6FE57D@web.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-15?Q?F=E4rber?= Cc: qemu-devel@nongnu.org On Tue, Nov 11, 2008 at 05:59:41PM +0100, Andreas Färber wrote: > > Am 11.11.2008 um 12:36 schrieb Aurelien Jarno: > >> Revision: 5675 >> http://svn.sv.gnu.org/viewvc/? >> view=rev&root=qemu&revision=5675 >> Author: aurel32 >> Date: 2008-11-11 11:36:04 +0000 (Tue, 11 Nov 2008) >> >> Log Message: >> ----------- >> target-mips: optimize gen_save_pc() >> >> We obviously don't need to use a temporary variable to write PC. > > We probably don't need an inline helper for that either, while we're at > it? Well, the fact that we have an helper doesn't change the TCG generated code, and shouldn't change the host generated code if GCC is used with optimisation. I am not sure it worth removing this function, I'll let the decision to Thiemo. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net