b881910859
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:526cd4ec01
("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 commitca5bed07d0
) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
42 lines
899 B
C
42 lines
899 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define PowerPC target-specific constraint sets.
|
|
* Copyright (c) 2021 Linaro
|
|
*/
|
|
|
|
/*
|
|
* C_On_Im(...) defines a constraint set with <n> outputs and <m> inputs.
|
|
* Each operand should be a sequence of constraint letters as defined by
|
|
* tcg-target-con-str.h; the constraint combination is inclusive or.
|
|
*/
|
|
C_O0_I1(r)
|
|
C_O0_I2(r, r)
|
|
C_O0_I2(r, ri)
|
|
C_O0_I2(v, r)
|
|
C_O0_I3(r, r, r)
|
|
C_O0_I3(o, m, r)
|
|
C_O0_I4(r, r, ri, ri)
|
|
C_O0_I4(r, r, r, r)
|
|
C_O1_I1(r, r)
|
|
C_O1_I1(v, r)
|
|
C_O1_I1(v, v)
|
|
C_O1_I1(v, vr)
|
|
C_O1_I2(r, 0, rZ)
|
|
C_O1_I2(r, rI, ri)
|
|
C_O1_I2(r, rI, rT)
|
|
C_O1_I2(r, r, r)
|
|
C_O1_I2(r, r, ri)
|
|
C_O1_I2(r, r, rI)
|
|
C_O1_I2(r, r, rT)
|
|
C_O1_I2(r, r, rU)
|
|
C_O1_I2(r, r, rZW)
|
|
C_O1_I2(v, v, v)
|
|
C_O1_I3(v, v, v, v)
|
|
C_O1_I4(r, r, ri, rZ, rZ)
|
|
C_O1_I4(r, r, r, ri, ri)
|
|
C_O2_I1(r, r, r)
|
|
C_N1O1_I1(o, m, r)
|
|
C_O2_I2(r, r, r, r)
|
|
C_O2_I4(r, r, rI, rZM, r, r)
|
|
C_O2_I4(r, r, r, r, rI, rZM)
|