qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Small note about qemu/target-sh4/op.c
@ 2006-07-18 12:54 Pablo Virolainen
  2006-07-18 17:03 ` [Qemu-devel] smc91x irq patch Thorsten Zitterell
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Virolainen @ 2006-07-18 12:54 UTC (permalink / raw)
  To: qemu-devel


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-19 18:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18 12:54 [Qemu-devel] Small note about qemu/target-sh4/op.c Pablo Virolainen
2006-07-18 17:03 ` [Qemu-devel] smc91x irq patch Thorsten Zitterell
2006-07-19  3:29   ` Paul Brook
2006-07-19 17:53     ` Fabrice Bellard
2006-07-19 18:15       ` Paul Brook

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).