* [Qemu-devel] [5238] target-alpha: small optimizations
@ 2008-09-16 22:44 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2008-09-16 22:44 UTC (permalink / raw)
To: qemu-devel
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 <aurelien@aurel32.net>
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-09-16 22:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 22:44 [Qemu-devel] [5238] target-alpha: small optimizations Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).