On 8/2/23 20:52, Keith Packard via wrote:
Add helpers for reading/writing the 68881 FPSR register so that
changes in floating point exception state can be seen by the
application.

Call these helpers in pre_load/post_load hooks to synchronize
exception state.

Signed-off-by: Keith Packard<kei...@keithp.com>
---
  target/m68k/cpu.c        | 12 +++++++
  target/m68k/cpu.h        |  2 ++
  target/m68k/fpu_helper.c | 72 ++++++++++++++++++++++++++++++++++++++++
  target/m68k/helper.c     |  4 +--
  target/m68k/helper.h     |  2 ++
  target/m68k/translate.c  |  4 +--
  6 files changed, 92 insertions(+), 4 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to