qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] Thumb blx broken
@ 2005-11-01 18:39 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-11-01 18:39 UTC (permalink / raw)
  To: qemu-devel

The patch below fixes a bug in the decoding of the Thumb BLX instruction.

Paul

=== target-arm/translate.c
==================================================================
--- target-arm/translate.c	(revision 1789)
+++ target-arm/translate.c	(local)
@@ -2035,7 +2035,7 @@
         gen_movl_reg_T1(s, 14);
         
         val += offset << 1;
-        if (insn & (1 << 11)) {
+        if (insn & (1 << 12)) {
             /* bl */
             gen_jmp(s, val);
         } else {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-01 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 18:39 [Qemu-devel] [patch] Thumb blx broken 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).