mirror of https://github.com/xemu-project/xemu.git
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
|
@ -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…
Reference in New Issue