aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-20 15:46:27 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-07-09 09:41:53 -0700
commit21a7e89eced0372cb465e0c9b0a19ffc4e7b75b1 (patch)
tree48c4e4d3df64a1157c1f6978b64d0ae3905239b3 /target
parent3fd3442abe24f8cabcbb40b73ffe7de81e5db446 (diff)
downloadqemu-21a7e89eced0372cb465e0c9b0a19ffc4e7b75b1.zip
qemu-21a7e89eced0372cb465e0c9b0a19ffc4e7b75b1.tar.gz
qemu-21a7e89eced0372cb465e0c9b0a19ffc4e7b75b1.tar.bz2
target/alpha: Use translator_use_goto_tb
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target')
-rw-r--r--target/alpha/translate.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/alpha/translate.c b/target/alpha/translate.c
index bb7b5ce..833d3ba 100644
--- a/target/alpha/translate.c
+++ b/target/alpha/translate.c
@@ -440,12 +440,7 @@ static DisasJumpType gen_store_conditional(DisasContext *ctx, int ra, int rb,
static bool use_goto_tb(DisasContext *ctx, uint64_t dest)
{
-#ifndef CONFIG_USER_ONLY
- /* Check for the dest on the same page as the start of the TB. */
- return ((ctx->base.tb->pc ^ dest) & TARGET_PAGE_MASK) == 0;
-#else
- return true;
-#endif
+ return translator_use_goto_tb(&ctx->base, dest);
}
static DisasJumpType gen_bdirect(DisasContext *ctx, int ra, int32_t disp)