qemu-e2k/tcg/loongarch64
Qi Hu f072a1ae7f tcg/loongarch64: Add direct jump support
Similar to the ARM64, LoongArch has PC-relative instructions such as
PCADDU18I. These instructions can be used to support direct jump for
LoongArch. Additionally, if instruction "B offset" can cover the target
address(target is within ±128MB range), a single "B offset" plus a nop
will be used by "tb_target_set_jump_target".

Signed-off-by: Qi Hu <huqi@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: WANG Xuerui <git@xen0n.name>
Message-Id: <20221015092754.91971-1-huqi@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-10-25 22:01:14 +10:00
..
tcg-insn-defs.c.inc
tcg-target-con-set.h tcg/loongarch64: Add softmmu load/store helpers, implement qemu_ld/qemu_st ops 2021-12-21 13:17:06 -08:00
tcg-target-con-str.h tcg/loongarch64: Define the operand constraints 2021-12-21 13:17:06 -08:00
tcg-target.c.inc tcg/loongarch64: Add direct jump support 2022-10-25 22:01:14 +10:00
tcg-target.h tcg/loongarch64: Add direct jump support 2022-10-25 22:01:14 +10:00