mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/xtensa: Use translator_use_goto_tb
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
3806471563
commit
70c6eb46d7
1 changed files with 1 additions and 5 deletions
|
@ -405,11 +405,7 @@ static void gen_jump(DisasContext *dc, TCGv dest)
|
||||||
|
|
||||||
static int adjust_jump_slot(DisasContext *dc, uint32_t dest, int slot)
|
static int adjust_jump_slot(DisasContext *dc, uint32_t dest, int slot)
|
||||||
{
|
{
|
||||||
if (((dc->base.pc_first ^ dest) & TARGET_PAGE_MASK) != 0) {
|
return translator_use_goto_tb(&dc->base, dest) ? slot : -1;
|
||||||
return -1;
|
|
||||||
} else {
|
|
||||||
return slot;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gen_jumpi(DisasContext *dc, uint32_t dest, int slot)
|
static void gen_jumpi(DisasContext *dc, uint32_t dest, int slot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue