mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
ppc: Avoid AREG0 for misc helpers
Add an explicit CPUPPCState parameter instead of relying on AREG0. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
901c4eaf96
commit
d523dd00a7
5 changed files with 25 additions and 27 deletions
|
@ -4551,7 +4551,7 @@ static void gen_abso(DisasContext *ctx)
|
|||
static void gen_clcs(DisasContext *ctx)
|
||||
{
|
||||
TCGv_i32 t0 = tcg_const_i32(rA(ctx->opcode));
|
||||
gen_helper_clcs(cpu_gpr[rD(ctx->opcode)], t0);
|
||||
gen_helper_clcs(cpu_gpr[rD(ctx->opcode)], cpu_env, t0);
|
||||
tcg_temp_free_i32(t0);
|
||||
/* Rc=1 sets CR0 to an undefined state */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue