tests/fp: Explicitly set 3-NaN propagation rule
Explicitly set a rule in the softfloat tests for propagating NaNs in the muladd case. In meson.build we put -DTARGET_ARM in fpcflags, and so we should select here the Arm rule of float_3nan_prop_s_cab. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-17-peter.maydell@linaro.org
This commit is contained in:
parent
7a944c30f7
commit
43e5112808
@ -493,6 +493,7 @@ static void run_bench(void)
|
||||
* doesn't specify match those used by the Arm architecture.
|
||||
*/
|
||||
set_float_2nan_prop_rule(float_2nan_prop_s_ab, &soft_status);
|
||||
set_float_3nan_prop_rule(float_3nan_prop_s_cab, &soft_status);
|
||||
set_float_infzeronan_rule(float_infzeronan_dnan_if_qnan, &soft_status);
|
||||
|
||||
f = bench_funcs[operation][precision];
|
||||
|
@ -940,6 +940,7 @@ void run_test(void)
|
||||
* doesn't specify match those used by the Arm architecture.
|
||||
*/
|
||||
set_float_2nan_prop_rule(float_2nan_prop_s_ab, &qsf);
|
||||
set_float_3nan_prop_rule(float_3nan_prop_s_cab, &qsf);
|
||||
set_float_infzeronan_rule(float_infzeronan_dnan_if_qnan, &qsf);
|
||||
|
||||
genCases_setLevel(test_level);
|
||||
|
Loading…
x
Reference in New Issue
Block a user