Re: [PATCH 2/9] target/s390x: Use a single return for helper_divs64/u64

2022-10-25 Thread Ilya Leoshkevich
On Fri, Oct 21, 2022 at 05:29:59PM +1000, Richard Henderson wrote: > Pack the quotient and remainder into a single Int128. > Use the divu128 primitive to remove the cpu_abort on > 32-bit hosts. > > This is the first use of Int128 as a return value. > > Signed-off-by: Richard Henderson Acked-by:

Re: [PATCH 2/9] target/s390x: Use a single return for helper_divs64/u64

2022-10-24 Thread Philippe Mathieu-Daudé
On 21/10/22 09:29, Richard Henderson wrote: Pack the quotient and remainder into a single Int128. Use the divu128 primitive to remove the cpu_abort on 32-bit hosts. This is the first use of Int128 as a return value. Signed-off-by: Richard Henderson --- target/s390x/helper.h | 4 ++--

[PATCH 2/9] target/s390x: Use a single return for helper_divs64/u64

2022-10-21 Thread Richard Henderson
Pack the quotient and remainder into a single Int128. Use the divu128 primitive to remove the cpu_abort on 32-bit hosts. This is the first use of Int128 as a return value. Signed-off-by: Richard Henderson --- target/s390x/helper.h | 4 ++-- target/s390x/tcg/int_helper.c | 38 +-