qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 05/12] target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper


From: Richard Henderson
Subject: Re: [PATCH 05/12] target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper
Date: Tue, 17 May 2022 09:43:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 5/17/22 05:39, matheus.ferst@eldorado.org.br wrote:
From: Matheus Ferst<matheus.ferst@eldorado.org.br>

fsel doesn't change FPSCR and CR1 is handled by gen_set_cr1_from_fpscr,
so helper_fsel doesn't need the env argument and can be declared with
TCG_CALL_NO_RWG_SE. We also take this opportunity to move the insn to
decodetree.

Signed-off-by: Matheus Ferst<matheus.ferst@eldorado.org.br>
---
  target/ppc/fpu_helper.c            | 15 +++++++--------
  target/ppc/helper.h                |  2 +-
  target/ppc/insn32.decode           |  7 +++++++
  target/ppc/translate/fp-impl.c.inc | 30 ++++++++++++++++++++++++++++--
  target/ppc/translate/fp-ops.c.inc  |  1 -
  5 files changed, 43 insertions(+), 12 deletions(-)

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

r~



reply via email to

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