]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390x: Add TCG_CT_CONST_N32
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 18 Jan 2025 22:01:12 +0000 (14:01 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:17 +0000 (13:40 -0700)
commit19b9fc2a39c733f585388918e4e093f08e2c33eb
tree3c6725281079a98aed8c7beeb5c049e06562769c
parent1b6e25e300e78cf8d8581245c2f8339c5b423d30
tcg/s390x: Add TCG_CT_CONST_N32

We were using S32 | U32 for add2/sub2.  But the ALGFI and SLGFI
insns that implement this both have uint32_t immediates.
This makes the composite range balanced and
enables use of -0xffffffff ... -0x80000001.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target-con-set.h
tcg/s390x/tcg-target-con-str.h
tcg/s390x/tcg-target.c.inc