diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index 7a1c528fc827bbb9ceac50cd6def858d97f56692..b6643eb8183c26e6062aebb2b9f6ef8b84a1800c 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -2520,7 +2520,9 @@ static void disas_xtensa_insn(DisasContext *dc) break; } - gen_check_loop_end(dc, 0); + if (dc->is_jmp == DISAS_NEXT) { + gen_check_loop_end(dc, 0); + } dc->pc = dc->next_pc; return;