tcg/s390x: Tighten constraints for 64-bit compare
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Dec 2022 21:48:00 +0000 (21:48 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Jan 2023 23:07:09 +0000 (23:07 +0000)
commit32c256eda68f0e75ce390d5e8e78ab6929e222ac
treeb7faaec1807c692d886125ad2bb1740b1d51fda2
parent29a5ea738a20cbf8974d48a44e3a213451ded8dd
tcg/s390x: Tighten constraints for 64-bit compare

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>
tcg/s390x/tcg-target-con-set.h
tcg/s390x/tcg-target.c.inc