qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] target-arm: modifying pc in tcg code for load/store multiple
@ 2015-02-19 12:26 ild
  2015-02-19 13:10 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: ild @ 2015-02-19 12:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, Ildar Isaev

From: Ildar Isaev <ild@inbox.ru>

pc wasn't modified in tcg code for load/store multiple,
causing translation block to be executed in infinite loop forever

Signed-off-by: Ildar Isaev <ild@inbox.ru>
---
 target-arm/translate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-arm/translate.c b/target-arm/translate.c
index 36868ed..622aa03 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -8973,7 +8973,7 @@ static void disas_arm_insn(DisasContext *s, unsigned int insn)
                     tmp = load_cpu_field(spsr);
                     gen_set_cpsr(tmp, CPSR_ERET_MASK);
                     tcg_temp_free_i32(tmp);
-                    s->is_jmp = DISAS_UPDATE;
+                    gen_lookup_tb(s);
                 }
             }
             break;
-- 
1.9.3

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

end of thread, other threads:[~2015-03-10 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 12:26 [Qemu-devel] [PATCH] target-arm: modifying pc in tcg code for load/store multiple ild
2015-02-19 13:10 ` Peter Maydell
2015-02-19 16:04   ` Ildar Isaev
2015-03-10 19:05     ` Peter Maydell

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