Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfjHb-0006BR-0u for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfjHa-0006B6-9J for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:30 -0400 Received: from [199.232.76.173] (port=47838 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfjHa-0006B1-39 for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:30 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38827 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfjHY-0001In-8a for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:29 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KfjHV-0006rn-Kc for qemu-devel@nongnu.org; Tue, 16 Sep 2008 22:44:25 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KfjHV-0006rf-Bk for qemu-devel@nongnu.org; Tue, 16 Sep 2008 22:44:25 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Tue, 16 Sep 2008 22:44:25 +0000 Subject: [Qemu-devel] [5238] target-alpha: small optimizations 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 Revision: 5238 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5238 Author: aurel32 Date: 2008-09-16 22:44:25 +0000 (Tue, 16 Sep 2008) Log Message: ----------- target-alpha: small optimizations Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-alpha/translate.c Modified: trunk/target-alpha/translate.c =================================================================== --- trunk/target-alpha/translate.c 2008-09-16 22:44:17 UTC (rev 5237) +++ trunk/target-alpha/translate.c 2008-09-16 22:44:25 UTC (rev 5238) @@ -516,7 +516,7 @@ goto invalid_opc; case 0x08: /* LDA */ - if (ra != 31) { + if (likely(ra != 31)) { if (rb != 31) tcg_gen_addi_i64(cpu_ir[ra], cpu_ir[rb], disp16); else @@ -525,7 +525,7 @@ break; case 0x09: /* LDAH */ - if (ra != 31) { + if (likely(ra != 31)) { if (rb != 31) tcg_gen_addi_i64(cpu_ir[ra], cpu_ir[rb], disp16 << 16); else