[5238] target-alpha: small optimizations
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 <[email protected]>
Modified Paths:
--------------
trunk/target-alpha/translate.c
Modified: trunk/target-alpha/translate.c
===================================================================
target-alpha/translate.c +2 -2
@@ -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