diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-11-26 18:54:23 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-01-17 10:08:55 -1000 |
commit | 9da6079b2695dcffd8b18890db6cafdf4dc373db (patch) | |
tree | 40f2a3e7c03b3dc10b3bc3a38aca0e8641cea3c4 /tcg/loongarch64 | |
parent | b7e4afbd9f2f9233a37e021f9e8cce472aecdd64 (diff) |
tcg: Add TranslationBlock.jmp_insn_offset
Stop overloading jmp_target_arg for both offset and address,
depending on TCG_TARGET_HAS_direct_jump. Instead, add a new
field to hold the jump insn offset and always set the target
address in jmp_target_addr[]. This will allow a tcg backend
to use either direct or indirect depending on displacement.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/loongarch64')
0 files changed, 0 insertions, 0 deletions