32c256eda6
Give 64-bit comparison second operand a signed 33-bit immediate. This is the smallest superset of uint32_t and int32_t, as used by CLGFI and CGFI respectively. The rest of the 33-bit space can be loaded into TCG_TMP0. Drop use of the constant pool. Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
47 lines
981 B
C
47 lines
981 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define S390 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(L, L)
|
|
C_O0_I2(r, r)
|
|
C_O0_I2(r, ri)
|
|
C_O0_I2(r, rA)
|
|
C_O0_I2(v, r)
|
|
C_O1_I1(r, L)
|
|
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, ri)
|
|
C_O1_I2(r, 0, rI)
|
|
C_O1_I2(r, 0, rJ)
|
|
C_O1_I2(r, r, r)
|
|
C_O1_I2(r, r, ri)
|
|
C_O1_I2(r, r, rA)
|
|
C_O1_I2(r, r, rI)
|
|
C_O1_I2(r, r, rJ)
|
|
C_O1_I2(r, r, rK)
|
|
C_O1_I2(r, r, rKR)
|
|
C_O1_I2(r, r, rNK)
|
|
C_O1_I2(r, r, rNKR)
|
|
C_O1_I2(r, rZ, r)
|
|
C_O1_I2(v, v, r)
|
|
C_O1_I2(v, v, v)
|
|
C_O1_I3(v, v, v, v)
|
|
C_O1_I4(r, r, ri, rI, r)
|
|
C_O1_I4(r, r, rA, rI, r)
|
|
C_O2_I2(o, m, 0, r)
|
|
C_O2_I2(o, m, r, r)
|
|
C_O2_I3(o, m, 0, 1, r)
|
|
C_O2_I4(r, r, 0, 1, rA, r)
|
|
C_O2_I4(r, r, 0, 1, ri, r)
|
|
C_O2_I4(r, r, 0, 1, r, r)
|