Commit 4586f9e9a1c2b4d7856b640f7f327589dbfe2423

Authored by aurel32
1 parent e34d2d62

Really really revert commit r4343


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4348 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
target-mips/translate.c
... ... @@ -2883,6 +2883,8 @@ static void gen_mtc0 (CPUState *env, DisasContext *ctx, int reg, int sel)
2883 2883 default:
2884 2884 goto die;
2885 2885 }
  2886 + /* Stop translation as we may have switched the execution mode */
  2887 + ctx->bstate = BS_STOP;
2886 2888 break;
2887 2889 case 12:
2888 2890 switch (sel) {
... ... @@ -4038,6 +4040,8 @@ static void gen_dmtc0 (CPUState *env, DisasContext *ctx, int reg, int sel)
4038 4040 default:
4039 4041 goto die;
4040 4042 }
  4043 + /* Stop translation as we may have switched the execution mode */
  4044 + ctx->bstate = BS_STOP;
4041 4045 break;
4042 4046 case 12:
4043 4047 switch (sel) {
... ...