qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/7] target/ppc: overhauled and moved logic of storing fps


From: Richard Henderson
Subject: Re: [PATCH v2 4/7] target/ppc: overhauled and moved logic of storing fpscr
Date: Wed, 19 May 2021 11:05:26 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 5/18/21 10:05 AM, Bruno Larsen (billionai) wrote:
Followed the suggested overhaul to store_fpscr logic, and moved it to
cpu.c where it can be accessed in !TCG builds.

The overhaul was suggesting because storing a value to fpscr should
never raise an exception, so we could remove all the mess that happened
with POWERPC_EXCP_FP.

We also moved fpscr_set_rounding_mode into cpu.c as it could now be moved
there, and it is needed when a value for the fpscr is being stored
directly.

Suggested-by: Richard Henderson<richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai)<bruno.larsen@eldorado.org.br>
---
  target/ppc/cpu.c        |  43 ++++++++
  target/ppc/cpu.h        |  12 +-
  target/ppc/fpu_helper.c | 238 +++-------------------------------------
  target/ppc/gdbstub.c    |   6 +-
  4 files changed, 65 insertions(+), 234 deletions(-)

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

r~



reply via email to

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