diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-04 21:07:17 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-04 21:07:17 +0000 |
commit | 876d4b07832b3b4fd30510420631570b6b8c94ea (patch) | |
tree | a90e49a90f3a0aa8721c2967ac0b860c238283b3 /target-mips | |
parent | 3079c59ac254cd2316c529a9e45cc9e1146434f5 (diff) |
Fix code formatting.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2595 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 132 |
1 files changed, 66 insertions, 66 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index 9ed30a7996..74bb42d204 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -2353,7 +2353,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 4: switch (sel) { @@ -2367,7 +2367,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 5: switch (sel) { @@ -2381,7 +2381,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 6: switch (sel) { @@ -2411,7 +2411,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 7: switch (sel) { @@ -2421,7 +2421,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 8: /* ignored */ @@ -2433,12 +2433,12 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) gen_op_mtc0_count(); rn = "Count"; break; - /* 6,7 are implementation dependent */ + /* 6,7 are implementation dependent */ default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 10: switch (sel) { @@ -2448,7 +2448,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 11: switch (sel) { @@ -2459,9 +2459,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) /* 6,7 are implementation dependent */ default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) { @@ -2483,9 +2483,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 13: switch (sel) { @@ -2495,9 +2495,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 14: switch (sel) { @@ -2507,7 +2507,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 15: switch (sel) { @@ -2969,7 +2969,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 5: switch (sel) { @@ -2983,7 +2983,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 6: switch (sel) { @@ -3013,7 +3013,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 7: switch (sel) { @@ -3023,7 +3023,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 8: switch (sel) { @@ -3033,7 +3033,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 9: switch (sel) { @@ -3044,7 +3044,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) /* 6,7 are implementation dependent */ default: goto die; - } + } break; case 10: switch (sel) { @@ -3054,7 +3054,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 11: switch (sel) { @@ -3062,10 +3062,10 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) gen_op_mfc0_compare(); rn = "Compare"; break; - /* 6,7 are implementation dependent */ + /* 6,7 are implementation dependent */ default: goto die; - } + } break; case 12: switch (sel) { @@ -3087,7 +3087,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 13: switch (sel) { @@ -3097,7 +3097,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 14: switch (sel) { @@ -3107,7 +3107,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 15: switch (sel) { @@ -3121,7 +3121,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 16: switch (sel) { @@ -3406,7 +3406,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) } break; default: - goto die; + goto die; } #if defined MIPS_DEBUG_DISAS if (loglevel & CPU_LOG_TB_IN_ASM) { @@ -3537,7 +3537,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 4: switch (sel) { @@ -3551,7 +3551,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 5: switch (sel) { @@ -3565,7 +3565,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 6: switch (sel) { @@ -3595,7 +3595,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) // break; default: goto die; - } + } break; case 7: switch (sel) { @@ -3605,7 +3605,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 8: /* ignored */ @@ -3617,12 +3617,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) gen_op_mtc0_count(); rn = "Count"; break; - /* 6,7 are implementation dependent */ + /* 6,7 are implementation dependent */ default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 10: switch (sel) { @@ -3632,7 +3632,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 11: switch (sel) { @@ -3640,12 +3640,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) gen_op_mtc0_compare(); rn = "Compare"; break; - /* 6,7 are implementation dependent */ + /* 6,7 are implementation dependent */ default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 12: switch (sel) { @@ -3665,11 +3665,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) gen_op_mtc0_srsmap(); /* shadow registers */ rn = "SRSMap"; break; - default: + default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 13: switch (sel) { @@ -3679,9 +3679,9 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + } + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; case 14: switch (sel) { @@ -3691,7 +3691,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 15: switch (sel) { @@ -3705,7 +3705,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) break; default: goto die; - } + } break; case 16: switch (sel) { @@ -3844,7 +3844,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) case 22: /* ignored */ rn = "Diagnostic"; /* implementation dependent */ - break; + break; case 23: switch (sel) { case 0: @@ -3920,11 +3920,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) default: goto die; } - break; + break; case 26: - /* ignored */ + /* ignored */ rn = "ECC"; - break; + break; case 27: switch (sel) { case 0 ... 3: @@ -3934,7 +3934,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) default: goto die; } - break; + break; case 28: switch (sel) { case 0: @@ -3975,7 +3975,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) rn = "invalid sel"; goto die; } - break; + break; case 30: switch (sel) { case 0: @@ -3995,11 +3995,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) default: goto die; } - /* Stop translation as we may have switched the execution mode */ - ctx->bstate = BS_STOP; + /* Stop translation as we may have switched the execution mode */ + ctx->bstate = BS_STOP; break; default: - goto die; + goto die; } #if defined MIPS_DEBUG_DISAS if (loglevel & CPU_LOG_TB_IN_ASM) { |