Skip to content
Snippets Groups Projects
Commit a253231f authored by Richard Henderson's avatar Richard Henderson Committed by Cédric Le Goater
Browse files

target/ppc: Fix temp usage in gen_op_arith_modw


Fix a crash writing to 't3', which is now a constant.
Instead, write the result of the remu to 't0'.

Fixes: 7058ff52 ("target/ppc: Avoid tcg_const_* in translate.c")
Reported-by: default avatarNicholas Piggin <npiggin@gmail.com>
Reviewed-by: default avatarAnton Johansson <anjo@rev.ng>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
[ clg: amend commit log s/t1/t0/ ]
Signed-off-by: default avatarCédric Le Goater <clg@kaod.org>
parent c6f3cbca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment