qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH 03/21] target/arm: Explicitly set 2-NaN propagation rule


From: Richard Henderson
Subject: Re: [PATCH 03/21] target/arm: Explicitly set 2-NaN propagation rule
Date: Mon, 28 Oct 2024 12:10:34 +0000
User-agent: Mozilla Thunderbird

On 10/25/24 15:12, Peter Maydell wrote:
Set the 2-NaN propagation rule explicitly in the float_status words
we use.  We wrap this plus the pre-existing setting of the
tininess-before-rounding flag in a new function
arm_set_default_fp_behaviours() to avoid repetition, since we have a
lot of float_status words at this point.

The situation with FPA11 emulation in linux-user is a little odd, and
arguably "correct" behaviour there would be to exactly match a real
Linux kernel's FPA11 emulation.  However FPA11 emulation is
essentially dead at this point and so it seems better to continue
with QEMU's current behaviour and leave a comment describing the
situation.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  linux-user/arm/nwfpe/fpa11.c   | 18 ++++++++++++++++++
  target/arm/cpu.c               | 25 +++++++++++++++++--------
  fpu/softfloat-specialize.c.inc | 13 ++-----------
  3 files changed, 37 insertions(+), 19 deletions(-)

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

r~



reply via email to

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