case 12:
switch (sel) {
case 0:
+ save_cpu_state(ctx, 1);
gen_helper_mtc0_status(t0);
/* BS_STOP isn't good enough here, hflags may have changed. */
gen_save_pc(ctx->pc + 4);
case 13:
switch (sel) {
case 0:
+ save_cpu_state(ctx, 1);
gen_helper_mtc0_cause(t0);
rn = "Cause";
break;
case 12:
switch (sel) {
case 0:
+ save_cpu_state(ctx, 1);
gen_helper_mtc0_status(t0);
/* BS_STOP isn't good enough here, hflags may have changed. */
gen_save_pc(ctx->pc + 4);
case 13:
switch (sel) {
case 0:
+ save_cpu_state(ctx, 1);
gen_helper_mtc0_cause(t0);
rn = "Cause";
break;
default:
goto die;
}
- /* Stop translation as we may have switched the execution mode */
- ctx->bstate = BS_STOP;
break;
case 14:
switch (sel) {
break;
case OPC_DI:
check_insn(env, ctx, ISA_MIPS32R2);
+ save_cpu_state(ctx, 1);
gen_helper_di(t0);
gen_store_gpr(t0, rt);
/* Stop translation as we may have switched the execution mode */
break;
case OPC_EI:
check_insn(env, ctx, ISA_MIPS32R2);
+ save_cpu_state(ctx, 1);
gen_helper_ei(t0);
gen_store_gpr(t0, rt);
/* Stop translation as we may have switched the execution mode */