Commit feeb3b6a authored by Paul Brook's avatar Paul Brook
Browse files


Fix botched merge of op_ldst_sc calls to match actual implementation.
Thanks to Aurelien Jarno for diagnosing this.

Signed-off-by: default avatarPaul Brook <>
parent 53e3c4f9
......@@ -1174,13 +1174,13 @@ static void gen_st_cond (DisasContext *ctx, uint32_t opc, int rt,
#if defined(TARGET_MIPS64)
case OPC_SCD:
save_cpu_state(ctx, 0);
op_ldst_scd(t0, t1, t0, ctx);
op_ldst_scd(t1, t0, rt, ctx);
opn = "scd";
case OPC_SC:
save_cpu_state(ctx, 0);
op_ldst_sc(t0, t1, t0, ctx);
op_ldst_sc(t1, t0, rt, ctx);
opn = "sc";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment