diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-05 21:42:19 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-05 21:42:19 +0000 |
commit | 4586f9e9a1c2b4d7856b640f7f327589dbfe2423 (patch) | |
tree | d048e56c1231695194364b27bced284bb91a7a22 /target-mips | |
parent | e34d2d62a3a6a86b580a8ca0052e509e9cf0edeb (diff) | |
download | qemu-4586f9e9a1c2b4d7856b640f7f327589dbfe2423.zip |
Really really revert commit r4343
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4348 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |