aboutsummaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-04-28 14:57:41 -0400
committerRichard Henderson <rth@twiddle.net>2017-06-05 09:25:42 -0700
commite78722368c721f3c5b8109ed525adac1653ae97b (patch)
tree3f5e31a0f11b557f7c79d86d4f4ab1425daeb839 /target/arm
parent4137cb83fa24eb81c4468eddf717d5257bfdfe5a (diff)
target/aarch64: optimize cross-page direct jumps in softmmu
Perf numbers in next commit's log. Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/translate-a64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
index a82ab49c94..ab61d96099 100644
--- a/target/arm/translate-a64.c
+++ b/target/arm/translate-a64.c
@@ -379,7 +379,7 @@ static inline void gen_goto_tb(DisasContext *s, int n, uint64_t dest)
} else if (s->singlestep_enabled) {
gen_exception_internal(EXCP_DEBUG);
} else {
- tcg_gen_exit_tb(0);
+ tcg_gen_lookup_and_goto_ptr(cpu_pc);
s->is_jmp = DISAS_TB_JUMP;
}
}