qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5238] target-alpha: small optimizations


From: Aurelien Jarno
Subject: [Qemu-devel] [5238] target-alpha: small optimizations
Date: Tue, 16 Sep 2008 22:44:25 +0000

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 <address@hidden>

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]