On 5/17/22 05:39, matheus.fe...@eldorado.org.br wrote:
From: Matheus Ferst<matheus.fe...@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.fe...@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.hender...@linaro.org>

r~

Reply via email to