Re: [RFC PATCH 2/3] target/ppc: Use FP CR1 update helper more widely

2023-09-12 Thread Philippe Mathieu-Daudé
On 13/9/23 02:58, Nicholas Piggin wrote: Several places open-code this FP CR1 update. Move them to call gen_set_cr1_from_fpscr(). FPSCR_OX = 28 so move that to the symbolic constant while we are here. Signed-off-by: Nicholas Piggin --- target/ppc/translate/fp-impl.c.inc | 16 ++--

[RFC PATCH 2/3] target/ppc: Use FP CR1 update helper more widely

2023-09-12 Thread Nicholas Piggin
Several places open-code this FP CR1 update. Move them to call gen_set_cr1_from_fpscr(). FPSCR_OX = 28 so move that to the symbolic constant while we are here. Signed-off-by: Nicholas Piggin --- target/ppc/translate/fp-impl.c.inc | 16 ++-- 1 file changed, 6 insertions(+), 10 deleti