]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/loongarch64: Use tcg_pcrel_diff in tcg_out_ldst
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Nov 2022 17:03:23 +0000 (09:03 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Jan 2023 02:00:13 +0000 (16:00 -1000)
commit21199bfbef8b69305cf419e22a455e7a1923c4ba
tree57dc4a8b8a36cbd80369d4d8516e079eef756204
parent7bc76a4c2e996add45291ed75ab417314a87427c
tcg/loongarch64: Use tcg_pcrel_diff in tcg_out_ldst

Take the w^x split into account when computing the
pc-relative distance to an absolute pointer.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/loongarch64/tcg-target.c.inc