Re: [PATCH v4 25/27] tcg/s390x: Tighten constraints for 64-bit compare

2022-12-13 Thread Ilya Leoshkevich
On Tue, Dec 13, 2022 at 10:43:07AM -0600, Richard Henderson wrote: > On 12/13/22 10:25, Ilya Leoshkevich wrote: > > On Thu, Dec 08, 2022 at 08:05:28PM -0600, Richard Henderson wrote: > > > Give 64-bit comparison second operand a signed 33-bit immediate. > > > This is the smallest superset of uint32

Re: [PATCH v4 25/27] tcg/s390x: Tighten constraints for 64-bit compare

2022-12-13 Thread Richard Henderson
On 12/13/22 10:25, Ilya Leoshkevich wrote: On Thu, Dec 08, 2022 at 08:05:28PM -0600, Richard Henderson wrote: 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 sp

Re: [PATCH v4 25/27] tcg/s390x: Tighten constraints for 64-bit compare

2022-12-13 Thread Ilya Leoshkevich
On Thu, Dec 08, 2022 at 08:05:28PM -0600, Richard Henderson wrote: > 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

[PATCH v4 25/27] tcg/s390x: Tighten constraints for 64-bit compare

2022-12-08 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- tcg/s390