qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/m68k: Map FPU exceptions to FPSR register


From: Richard Henderson
Subject: Re: [PATCH] target/m68k: Map FPU exceptions to FPSR register
Date: Tue, 3 Oct 2023 14:19:12 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

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<keithp@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(-)

Queued to m68k-next.

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]