target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper
commiteb69a84bb07be94179eb2275cd9d4bed12afc66f
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Tue, 17 May 2022 12:39:22 +0000 (17 09:39 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 26 May 2022 20:11:32 +0000 (26 17:11 -0300)
treea63be40c9e01bc81ea797195bf5944d383b366eb
parentf2454bfe73d1ae9e7561fc3c29e0d2729381d27c
target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220517123929.284511-6-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/fpu_helper.c
target/ppc/helper.h
target/ppc/insn32.decode
target/ppc/translate/fp-impl.c.inc
target/ppc/translate/fp-ops.c.inc