diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:55 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:55 +0000 |
commit | 80de5f24e09cd9885a5e8d72cc01c097c23bf227 (patch) | |
tree | 59d2f6bf0ec61918434e11d75e31cbb360b64a4f /scripts/qemu-gdb.py | |
parent | 4482f32dcd1faa035e03ded557fa980e8b528c31 (diff) | |
download | qemu-80de5f24e09cd9885a5e8d72cc01c097c23bf227.zip qemu-80de5f24e09cd9885a5e8d72cc01c097c23bf227.tar.gz qemu-80de5f24e09cd9885a5e8d72cc01c097c23bf227.tar.bz2 |
target/xtensa: Factor out calls to set_use_first_nan()
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>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241025141254.2141506-14-peter.maydell@linaro.org
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions