qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 61/76] target/arm: Handle FPCR.AH in FRECPS and FRSQRTS scala


From: Richard Henderson
Subject: Re: [PATCH 61/76] target/arm: Handle FPCR.AH in FRECPS and FRSQRTS scalar insns
Date: Sun, 26 Jan 2025 05:14:54 -0800
User-agent: Mozilla Thunderbird

On 1/24/25 08:28, Peter Maydell wrote:
Handle the FPCR.AH semantics that we do not change the sign of an
input NaN in the FRECPS and FRSQRTS scalar insns, by providing
new helper functions that do the CHS part of the operation
differently.

Since the extra helper functions would be very repetitive if written
out longhand, we condense them and the existing non-AH helpers into
being emitted via macros.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/tcg/helper-a64.h    |   6 ++
  target/arm/tcg/helper-a64.c    | 128 ++++++++++++++-------------------
  target/arm/tcg/translate-a64.c |  25 +++++--
  3 files changed, 78 insertions(+), 81 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

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