qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Small note about qemu/target-sh4/op.c


From: Pablo Virolainen
Subject: [Qemu-devel] Small note about qemu/target-sh4/op.c
Date: Tue, 18 Jul 2006 15:54:00 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060427 Debian/1.7.13-0ubuntu5.10

Hello,

I just noticed that op_dec8_rN and op_dec8_rN might have a copy-paste
error. I wonder if it should be like

RCS file: /sources/qemu/qemu/target-sh4/op.c,v
retrieving revision 1.3
diff -u -r1.3 op.c
--- op.c        18 Jun 2006 19:12:54 -0000      1.3
+++ op.c        18 Jul 2006 12:22:23 -0000
@@ -737,7 +737,7 @@

 void OPPROTO op_dec8_rN(void)
 {
-    env->gregs[PARAM1] -= 4;
+    env->gregs[PARAM1] -= 8;
     RETURN();
 }

@@ -761,7 +761,7 @@

 void OPPROTO op_inc8_rN(void)
 {
-    env->gregs[PARAM1] += 4;
+    env->gregs[PARAM1] += 8;
     RETURN();
 }

Pablo Virolainen




reply via email to

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