qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH 13/21] target/xtensa: Factor out calls to set_use_first_nan()


From: Richard Henderson
Subject: Re: [PATCH 13/21] target/xtensa: Factor out calls to set_use_first_nan()
Date: Mon, 28 Oct 2024 12:21:43 +0000
User-agent: Mozilla Thunderbird

On 10/25/24 15:12, Peter Maydell wrote:
In xtensa we currently call set_use_first_nan() in a lot of
places where we want to switch the NaN-propagation handling.
We're about to change the softfloat API we use to do that,
so start by factoring all the calls out into a single
xtensa_use_first_nan() function.

The bulk of this change was done with
  sed -i -e 's/set_use_first_nan(\([^,]*\),[^)]*)/xtensa_use_first_nan(env, 
\1)/'  target/xtensa/fpu_helper.c

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  target/xtensa/cpu.h        |  6 ++++++
  target/xtensa/cpu.c        |  2 +-
  target/xtensa/fpu_helper.c | 33 +++++++++++++++++++--------------
  3 files changed, 26 insertions(+), 15 deletions(-)

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

r~



reply via email to

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