]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/loongarch64: Use C_N2_I1 for INDEX_op_qemu_ld_a*_i128
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 16 Sep 2023 22:01:46 +0000 (15:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 Nov 2023 16:27:21 +0000 (08:27 -0800)
commit2b2ae0a42e67a85273c0976466f1a634ede084dc
treec09007068e1660e76033dc3afe823d690a5e5efb
parentfa645b48d3da093165406dce2c36f967fac6bd9d
tcg/loongarch64: Use C_N2_I1 for INDEX_op_qemu_ld_a*_i128

Use new registers for the output, so that we never overlap
the input address, which could happen for user-only.
This avoids a "tmp = addr + 0" in that case.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Jiajie Chen <c@jia.je>
Message-Id: <20230916220151.526140-3-richard.henderson@linaro.org>
tcg/loongarch64/tcg-target-con-set.h
tcg/loongarch64/tcg-target.c.inc