tcg/ppc: Use new registers for LQ destination
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Jan 2024 01:27:18 +0000 (01:27 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Jan 2024 21:47:45 +0000 (08:47 +1100)
commitca5bed07d0e7e0530c2cafbc134c4f74e582ac50
treecacf18f0e6dde8857ad24dc6c2a68dc72a4ded98
parentafa37be4b4b0cd36150db7d62ab68f2673f7589a
tcg/ppc: Use new registers for LQ destination

LQ has a constraint that RTp != RA, else SIGILL.
Therefore, force the destination of INDEX_op_qemu_*_ld128 to be a
new register pair, so that it cannot overlap the input address.

This requires new support in process_op_defs and tcg_reg_alloc_op.

Cc: qemu-stable@nongnu.org
Fixes: 526cd4ec01f ("tcg/ppc: Support 128-bit load/store")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240102013456.131846-1-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/ppc/tcg-target-con-set.h
tcg/ppc/tcg-target.c.inc
tcg/tcg.c