From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: TAKAGO Daisuke <takago1129@hotmail.com>
Subject: [Qemu-devel] [patch] Bug in arm saturating instructions
Date: Sun, 1 May 2005 11:35:40 +0100 [thread overview]
Message-ID: <200505011135.41163.paul@codesourcery.com> (raw)
The patch below fixes a but in the arm saturating add/subtract instructions.
We were writing the result back to the wrong register.
Paul
Index: target-arm/translate.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-arm/translate.c,v
retrieving revision 1.24
diff -u -p -r1.24 translate.c
--- target-arm/translate.c 27 Apr 2005 20:25:20 -0000 1.24
+++ target-arm/translate.c 1 May 2005 10:28:46 -0000
@@ -1032,7 +1032,7 @@ static void disas_arm_insn(CPUState * en
gen_op_subl_T0_T1_saturate();
else
gen_op_addl_T0_T1_saturate();
- gen_movl_reg_T0(s, rn);
+ gen_movl_reg_T0(s, rd);
break;
case 0x8: /* signed multiply */
case 0xa:
reply other threads:[~2005-05-01 10:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200505011135.41163.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=takago1129@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.