qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 58/76] target/arm: Handle FPCR.AH in negation steps in FCADD


From: Richard Henderson
Subject: Re: [PATCH 58/76] target/arm: Handle FPCR.AH in negation steps in FCADD
Date: Sun, 26 Jan 2025 05:08:16 -0800
User-agent: Mozilla Thunderbird

On 1/24/25 08:28, Peter Maydell wrote:
The negation steps in FCADD must honour FPCR.AH's "don't change the
sign of a NaN" semantics.  Implement this by encoding FPCR.AH into
the SIMD data field passed to the helper and using that to decide
whether to negate the values.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/arm/tcg/translate-a64.c | 10 +++++++--
  target/arm/tcg/vec_helper.c    | 39 ++++++++++++++++++++++++++++------
  2 files changed, 41 insertions(+), 8 deletions(-)

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

r~



reply via email to

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