OSDN Git Service

softfloat: make NO_SIGNALING_NANS runtime property
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 1 Jul 2020 02:35:49 +0000 (19:35 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Fri, 21 Aug 2020 19:48:14 +0000 (12:48 -0700)
commitcc43c6925113c5bc8f1a0205375931d2e4807c99
tree756ac99bf25877985fb5e310aa2ef587fb9aaba8
parenta7d479ee51c5911c93ee931efe4c2413b54c8756
softfloat: make NO_SIGNALING_NANS runtime property

target/xtensa, the only user of NO_SIGNALING_NANS macro has FPU
implementations with and without the corresponding property. With
NO_SIGNALING_NANS being a macro they cannot be a part of the same QEMU
executable.
Replace macro with new property in float_status to allow cores with
different FPU implementations coexist.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: "Alex Bennée" <alex.bennee@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
fpu/softfloat-specialize.c.inc
include/fpu/softfloat-helpers.h
include/fpu/softfloat-types.h