Call cpu_m68k_set_fpcr to make sure softfloat internals
are up-to-date with the restored FPCR.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/m68k/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c
index 1d49f4cb23..4d70cd50b4 100644
--- a/target/m68k/cpu.c
+++ b/target/m68k/cpu.c
@@ -402,6 +402,7 @@ static int fpu_post_load(void *opaque, int version)
{
M68kCPU *s = opaque;
+ cpu_m68k_set_fpcr(&s->env, s->env.fpcr);
cpu_m68k_set_fpsr(&s->env, s->env.fpsr);
return 0;
}
--
2.43.0