mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-25 00:25:15 +00:00
target-mips: assorted formatting fixes
Backports commits d75de74967f631a7d0b538d4b88f96f9c426bfe2, 6225a4a0e39cb24e7b9e1d4d2c1a3e6eaee18e85, and d2bfa6e6222baa0218bd0658499d38bac56ac34c from qemu
This commit is contained in:
parent
ca496991ea
commit
0f82a7f89f
|
@ -18684,7 +18684,8 @@ static void decode_opc (CPUMIPSState *env, DisasContext *ctx, bool *insn_need_pa
|
|||
save_cpu_state(ctx, 1);
|
||||
gen_helper_di(tcg_ctx, t0, tcg_ctx->cpu_env);
|
||||
gen_store_gpr(tcg_ctx, t0, rt);
|
||||
/* Stop translation as we may have switched the execution mode */
|
||||
/* Stop translation as we may have switched
|
||||
the execution mode */
|
||||
ctx->bstate = BS_STOP;
|
||||
break;
|
||||
case OPC_EI:
|
||||
|
@ -18692,7 +18693,8 @@ static void decode_opc (CPUMIPSState *env, DisasContext *ctx, bool *insn_need_pa
|
|||
save_cpu_state(ctx, 1);
|
||||
gen_helper_ei(tcg_ctx, t0, tcg_ctx->cpu_env);
|
||||
gen_store_gpr(tcg_ctx, t0, rt);
|
||||
/* Stop translation as we may have switched the execution mode */
|
||||
/* Stop translation as we may have switched
|
||||
the execution mode */
|
||||
ctx->bstate = BS_STOP;
|
||||
break;
|
||||
default: /* Invalid */
|
||||
|
@ -18899,8 +18901,8 @@ static void decode_opc (CPUMIPSState *env, DisasContext *ctx, bool *insn_need_pa
|
|||
case OPC_S_FMT:
|
||||
case OPC_D_FMT:
|
||||
check_cp1_enabled(ctx);
|
||||
gen_farith(ctx, ctx->opcode & FOP(0x3f, 0x1f), rt, rd, sa,
|
||||
(imm >> 8) & 0x7);
|
||||
gen_farith(ctx, ctx->opcode & FOP(0x3f, 0x1f),
|
||||
rt, rd, sa, (imm >> 8) & 0x7);
|
||||
break;
|
||||
case OPC_W_FMT:
|
||||
case OPC_L_FMT:
|
||||
|
|
Loading…
Reference in a new issue