]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/riscv: Use tcg_pcrel_diff in tcg_out_ldst
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 17 Jan 2023 23:04:15 +0000 (13:04 -1000)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 20 Jan 2023 00:14:14 +0000 (10:14 +1000)
commit9d9db41373a256c5ae011c1428d26d2597a77484
tree5c4571ed3c4f5436cf26f8fbec88c6f6c4649267
parente471a8c9850f1af0c1bc5768ca28285348cdd6c5
tcg/riscv: Use tcg_pcrel_diff in tcg_out_ldst

We failed to update this with the w^x split, so misses the fact
that true pc-relative offsets are usually small.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230117230415.354239-1-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
tcg/riscv/tcg-target.c.inc