mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
target-ppc: Fix build with --enable-debug
The order of the arguments was wrong (copy+paste error). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
3c01ae0ea2
commit
975e546358
@ -5794,7 +5794,7 @@ static void gen_mtdcrux(DisasContext *ctx)
|
||||
{
|
||||
/* NIP cannot be restored if the memory exception comes from an helper */
|
||||
gen_update_nip(ctx, ctx->nip - 4);
|
||||
gen_helper_store_dcr(cpu_gpr[rA(ctx->opcode)], cpu_env,
|
||||
gen_helper_store_dcr(cpu_env, cpu_gpr[rA(ctx->opcode)],
|
||||
cpu_gpr[rS(ctx->opcode)]);
|
||||
/* Note: Rc update flag set leads to undefined state of Rc0 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user