aboutsummaryrefslogtreecommitdiff
path: root/target/s390x
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-12-11 15:30:57 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-12-11 15:30:57 +0000
commitb07039a03e0261105e2de45eb077ede18b3e49b5 (patch)
tree12d44772b1ee896134570b2ffcaa0439de147a84 /target/s390x
parentac1254c4e75cd365283eca90cebc64cdb5a7e48d (diff)
downloadqemu-b07039a03e0261105e2de45eb077ede18b3e49b5.zip
qemu-b07039a03e0261105e2de45eb077ede18b3e49b5.tar.gz
qemu-b07039a03e0261105e2de45eb077ede18b3e49b5.tar.bz2
target/s390x: Set Float3NaNPropRule explicitly
Set the Float3NaNPropRule explicitly for s390x, and remove the ifdef from pickNaNMulAdd(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-21-peter.maydell@linaro.org
Diffstat (limited to 'target/s390x')
-rw-r--r--target/s390x/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c
index d5941b5..e74055b 100644
--- a/target/s390x/cpu.c
+++ b/target/s390x/cpu.c
@@ -206,6 +206,7 @@ static void s390_cpu_reset_hold(Object *obj, ResetType type)
set_float_detect_tininess(float_tininess_before_rounding,
&env->fpu_status);
set_float_2nan_prop_rule(float_2nan_prop_s_ab, &env->fpu_status);
+ set_float_3nan_prop_rule(float_3nan_prop_s_abc, &env->fpu_status);
set_float_infzeronan_rule(float_infzeronan_dnan_always,
&env->fpu_status);
/* fall through */