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>
Showing
- target/ppc/fpu_helper.c 7 additions, 8 deletionstarget/ppc/fpu_helper.c
- target/ppc/helper.h 1 addition, 1 deletiontarget/ppc/helper.h
- target/ppc/insn32.decode 7 additions, 0 deletionstarget/ppc/insn32.decode
- target/ppc/translate/fp-impl.c.inc 28 additions, 2 deletionstarget/ppc/translate/fp-impl.c.inc
- target/ppc/translate/fp-ops.c.inc 0 additions, 1 deletiontarget/ppc/translate/fp-ops.c.inc
Loading
Please register or sign in to comment