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.mayd...@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.hender...@linaro.org>

r~

Reply via email to