diff options
| author | Qi Hu | 2022-10-15 11:27:54 +0200 |
|---|---|---|
| committer | Richard Henderson | 2022-10-25 14:01:14 +0200 |
| commit | f072a1ae7fb47db75eb3c6b960759c908884f585 (patch) | |
| tree | 7fa17e262853d28740798596b4434362d0db02c8 /blockdev.c | |
| parent | Revert "accel/tcg: Init TCG cflags in vCPU thread handler" (diff) | |
| download | qemu-f072a1ae7fb47db75eb3c6b960759c908884f585.tar.gz qemu-f072a1ae7fb47db75eb3c6b960759c908884f585.tar.xz qemu-f072a1ae7fb47db75eb3c6b960759c908884f585.zip | |
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
