On 10/25/24 15:12, Peter Maydell wrote:
Set the 2-NaN propagation rule explicitly in env->fp_status.
Really we only need to do this at CPU reset (after reset has zeroed
out most of the CPU state struct, which typically includes fp_status
fields). However target/hppa does not currently implement CPU reset
at all, so leave a TODO comment to note that this could be moved if
we ever do implement reset.
Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
target/hppa/fpu_helper.c | 6 ++++++
fpu/softfloat-specialize.c.inc | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
We could do this in hppa_cpu_init(). Anyway,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~