Re: [PATCH for-8.0] target/ppc: Fix temp usage in gen_op_arith_modw

2023-04-07 Thread Cédric Le Goater
On 4/7/23 20:36, Richard Henderson wrote: Fix a crash writing to 't3', which is now a constant. Instead, write the result of the remu to 'ret'. Fixes: 7058ff5231a ("target/ppc: Avoid tcg_const_* in translate.c") Reported-by: Nicholas Piggin Signed-off-by: Richard Henderson --- target/ppc/tra

Re: [PATCH for-8.0] target/ppc: Fix temp usage in gen_op_arith_modw

2023-04-07 Thread Anton Johansson via
On 4/7/23 20:36, Richard Henderson wrote: Fix a crash writing to 't3', which is now a constant. Instead, write the result of the remu to 'ret'. Fixes: 7058ff5231a ("target/ppc: Avoid tcg_const_* in translate.c") Reported-by: Nicholas Piggin Signed-off-by: Richard Henderson --- target/ppc/t

[PATCH for-8.0] target/ppc: Fix temp usage in gen_op_arith_modw

2023-04-07 Thread Richard Henderson
Fix a crash writing to 't3', which is now a constant. Instead, write the result of the remu to 'ret'. Fixes: 7058ff5231a ("target/ppc: Avoid tcg_const_* in translate.c") Reported-by: Nicholas Piggin Signed-off-by: Richard Henderson --- target/ppc/translate.c | 4 ++-- 1 file changed, 2 insertio