target-xtensa: don't emit extra tcg_gen_goto_tb
Unconditional gen_check_loop_end at the end of disas_xtensa_insn can emit tcg_gen_goto_tb with slot id already used in the TB (e.g. when TB ends at LEND with a branch). Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Cc: qemu-stable <qemu-stable@nongnu.org> Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
parent
f9cb5045d1
commit
c26032b2c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user