qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/9] target/s390x: Use a single return for helper_divs64/u64
Date: Mon, 24 Oct 2022 15:16:02 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.2

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 <richard.henderson@linaro.org>
---
  target/s390x/helper.h         |  4 ++--
  target/s390x/tcg/int_helper.c | 38 +++++++++--------------------------
  target/s390x/tcg/translate.c  | 14 +++++++++----
  3 files changed, 21 insertions(+), 35 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]