[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1768246] Re: cpu-exec.c:648: cpu_loop_exec_tb: Asserti
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [Bug 1768246] Re: cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed. |
Date: |
Fri, 10 Aug 2018 21:03:15 -0000 |
This change seems to fix the problem:
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index 1b9a201d6d..5010b0d349 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -253,7 +253,6 @@ static void gen_goto_tb(DisasContext *ctx, int n,
target_ulong dest)
tcg_gen_lookup_and_goto_ptr();
}
}
- ctx->base.is_jmp = DISAS_NORETURN;
}
static void gen_jump(DisasContext * ctx)
@@ -324,7 +323,6 @@ static void gen_delayed_conditional_jump(DisasContext * ctx)
gen_jump(ctx);
gen_set_label(l1);
- ctx->base.is_jmp = DISAS_NEXT;
return;
}
@@ -1877,6 +1875,7 @@ static void decode_opc(DisasContext * ctx)
ctx->envflags &= ~GUSA_MASK;
tcg_gen_movi_i32(cpu_flags, ctx->envflags);
+ ctx->base.is_jmp = DISAS_NORETURN;
if (old_flags & DELAY_SLOT_CONDITIONAL) {
gen_delayed_conditional_jump(ctx);
} else {
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1768246
Title:
cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.
Status in QEMU:
New
Bug description:
OpenJDK no longer works on qemu-sh4, it previously did after #1735384
was fixed.
Crash indicates an assertion failure:
(sid-sh4-sbuild)address@hidden:/# java --version
qemu-sh4-static: /root/qemu/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb:
Assertion `use_icount' failed.
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted
(sid-sh4-sbuild)address@hidden:/#
Haven't bi-sected the issue yet, but will do so later.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1768246/+subscriptions