diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:53 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-05 10:09:53 +0000 |
commit | d22c9949d73d714e1ea2caf033131d882ad1d66a (patch) | |
tree | 3c983b1316c0d33901aad8a944f3d00b524ce3a9 /tests/fp/fp-test-log2.c | |
parent | 8a132968b2ce3f7078c8643dbc00e5c642eef0f6 (diff) | |
download | qemu-d22c9949d73d714e1ea2caf033131d882ad1d66a.zip qemu-d22c9949d73d714e1ea2caf033131d882ad1d66a.tar.gz qemu-d22c9949d73d714e1ea2caf033131d882ad1d66a.tar.bz2 |
tests/fp: Explicitly set 2-NaN propagation rule
Explicitly set a 2-NaN propagation rule in the softfloat tests. In
meson.build we put -DTARGET_ARM in fpcflags, and so we should select
here the Arm propagation rule of float_2nan_prop_s_ab.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241025141254.2141506-3-peter.maydell@linaro.org
Diffstat (limited to 'tests/fp/fp-test-log2.c')
-rw-r--r-- | tests/fp/fp-test-log2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fp/fp-test-log2.c b/tests/fp/fp-test-log2.c index 4eae93e..de702c4 100644 --- a/tests/fp/fp-test-log2.c +++ b/tests/fp/fp-test-log2.c @@ -70,6 +70,7 @@ int main(int ac, char **av) float_status qsf = {0}; int i; + set_float_2nan_prop_rule(float_2nan_prop_s_ab, &qsf); set_float_rounding_mode(float_round_nearest_even, &qsf); test.d = 0.0; |