From 4586f9e9a1c2b4d7856b640f7f327589dbfe2423 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Mon, 5 May 2008 21:42:19 +0000 Subject: Really really revert commit r4343 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4348 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-mips/translate.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target-mips') diff --git a/target-mips/translate.c b/target-mips/translate.c index f917ab98f0..eb8e09e09e 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -2883,6 +2883,8 @@ static void gen_mtc0 (CPUState *env, DisasContext *ctx, int reg, int sel) default: goto die; } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) { @@ -4038,6 +4040,8 @@ static void gen_dmtc0 (CPUState *env, DisasContext *ctx, int reg, int sel) default: goto die; } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) { -- cgit v1.2.3