target/s390x: Use a single return for helper_divs32/u32
commit6d28ff406c71c2c6f8a79edb1ccfc17978aa95fb
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 19 Oct 2022 22:18:59 +0000 (20 08:18 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 Feb 2023 16:19:42 +0000 (4 06:19 -1000)
tree3e7aeb10c4768fa5e366fe8822c374b29e4ec77c
parent82f6584c9b1345489a6446b3bc4086e00e8d67d1
target/s390x: Use a single return for helper_divs32/u32

Pack the quotient and remainder into a single uint64_t.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
v2: Fix operand ordering; use tcg_extr32_i64.
target/s390x/helper.h
target/s390x/tcg/int_helper.c
target/s390x/tcg/translate.c