diff --git a/qemu/target/mips/translate.c b/qemu/target/mips/translate.c index f0ab2e5b..5e773fae 100644 --- a/qemu/target/mips/translate.c +++ b/qemu/target/mips/translate.c @@ -7485,15 +7485,7 @@ static void gen_dmtc0(DisasContext *ctx, TCGv arg, int reg, int sel) switch (sel) { case 0: save_cpu_state(ctx, 1); - /* Mark as an IO operation because we may trigger a software - interrupt. */ - //if (ctx->tb->cflags & CF_USE_ICOUNT) { - // gen_io_start(); - //} gen_helper_mtc0_cause(tcg_ctx, tcg_ctx->cpu_env, arg); - //if (ctx->tb->cflags & CF_USE_ICOUNT) { - // gen_io_end(); - //} /* Stop translation as we may have triggered an intetrupt. BS_STOP * isn't sufficient, we need to ensure we break out of translated * code to check for pending interrupts. */