]> git.ipfire.org Git - thirdparty/qemu.git/commit
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)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 11 Jan 2024 18:02:11 +0000 (21:02 +0300)
commitb88191085977d0659fab6ebdead8488e5c34c8b6
tree88d9438ba0202f467dfcd069d4049efbf6e717e1
parenta68fc9dbde1708f49021d44181000e543304d180
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>
(cherry picked from commit ca5bed07d0e7e0530c2cafbc134c4f74e582ac50)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tcg/ppc/tcg-target-con-set.h
tcg/ppc/tcg-target.c.inc
tcg/tcg.c