diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-12-05 16:55:40 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-01-17 10:25:49 -1000 |
commit | 2fd2e78d1b5281d589eabdf31a21166c80bebd80 (patch) | |
tree | 700d3fbf2985621bd6d02736c11ea77ff9f80787 /tcg/arm | |
parent | 90c0fee3a28b25d23081b3c435762cadde813ec4 (diff) | |
download | qemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.zip qemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.tar.gz qemu-2fd2e78d1b5281d589eabdf31a21166c80bebd80.tar.bz2 |
tcg: Remove TCG_TARGET_HAS_direct_jump
We now have the option to generate direct or indirect
goto_tb depending on the dynamic displacement, thus
the define is no longer necessary or completely accurate.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/arm')
-rw-r--r-- | tcg/arm/tcg-target.c.inc | 1 | ||||
-rw-r--r-- | tcg/arm/tcg-target.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc index b21dd56..e1e1c26 100644 --- a/tcg/arm/tcg-target.c.inc +++ b/tcg/arm/tcg-target.c.inc @@ -1945,7 +1945,6 @@ static void tcg_out_goto_tb(TCGContext *s, int which) intptr_t ptr, dif, dil; TCGReg base = TCG_REG_PC; - qemu_build_assert(!TCG_TARGET_HAS_direct_jump); ptr = get_jmp_target_addr(s, which); dif = tcg_pcrel_diff(s, (void *)ptr) - 8; dil = sextract32(dif, 0, 12); diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h index d347a5d..91b8954 100644 --- a/tcg/arm/tcg-target.h +++ b/tcg/arm/tcg-target.h @@ -121,7 +121,6 @@ extern bool use_neon_instructions; #define TCG_TARGET_HAS_mulsh_i32 0 #define TCG_TARGET_HAS_div_i32 use_idiv_instructions #define TCG_TARGET_HAS_rem_i32 0 -#define TCG_TARGET_HAS_direct_jump 0 #define TCG_TARGET_HAS_qemu_st8_i32 0 #define TCG_TARGET_HAS_v64 use_neon_instructions |