Commit 876d4b07832b3b4fd30510420631570b6b8c94ea

Authored by ths
1 parent 3079c59a

Fix code formatting.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2595 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 66 additions and 66 deletions
target-mips/translate.c
@@ -2353,7 +2353,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2353,7 +2353,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2353 break; 2353 break;
2354 default: 2354 default:
2355 goto die; 2355 goto die;
2356 - } 2356 + }
2357 break; 2357 break;
2358 case 4: 2358 case 4:
2359 switch (sel) { 2359 switch (sel) {
@@ -2367,7 +2367,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2367,7 +2367,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2367 // break; 2367 // break;
2368 default: 2368 default:
2369 goto die; 2369 goto die;
2370 - } 2370 + }
2371 break; 2371 break;
2372 case 5: 2372 case 5:
2373 switch (sel) { 2373 switch (sel) {
@@ -2381,7 +2381,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2381,7 +2381,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2381 break; 2381 break;
2382 default: 2382 default:
2383 goto die; 2383 goto die;
2384 - } 2384 + }
2385 break; 2385 break;
2386 case 6: 2386 case 6:
2387 switch (sel) { 2387 switch (sel) {
@@ -2411,7 +2411,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2411,7 +2411,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2411 // break; 2411 // break;
2412 default: 2412 default:
2413 goto die; 2413 goto die;
2414 - } 2414 + }
2415 break; 2415 break;
2416 case 7: 2416 case 7:
2417 switch (sel) { 2417 switch (sel) {
@@ -2421,7 +2421,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2421,7 +2421,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2421 break; 2421 break;
2422 default: 2422 default:
2423 goto die; 2423 goto die;
2424 - } 2424 + }
2425 break; 2425 break;
2426 case 8: 2426 case 8:
2427 /* ignored */ 2427 /* ignored */
@@ -2433,12 +2433,12 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2433,12 +2433,12 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2433 gen_op_mtc0_count(); 2433 gen_op_mtc0_count();
2434 rn = "Count"; 2434 rn = "Count";
2435 break; 2435 break;
2436 - /* 6,7 are implementation dependent */ 2436 + /* 6,7 are implementation dependent */
2437 default: 2437 default:
2438 goto die; 2438 goto die;
2439 - }  
2440 - /* Stop translation as we may have switched the execution mode */  
2441 - ctx->bstate = BS_STOP; 2439 + }
  2440 + /* Stop translation as we may have switched the execution mode */
  2441 + ctx->bstate = BS_STOP;
2442 break; 2442 break;
2443 case 10: 2443 case 10:
2444 switch (sel) { 2444 switch (sel) {
@@ -2448,7 +2448,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2448,7 +2448,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2448 break; 2448 break;
2449 default: 2449 default:
2450 goto die; 2450 goto die;
2451 - } 2451 + }
2452 break; 2452 break;
2453 case 11: 2453 case 11:
2454 switch (sel) { 2454 switch (sel) {
@@ -2459,9 +2459,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2459,9 +2459,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2459 /* 6,7 are implementation dependent */ 2459 /* 6,7 are implementation dependent */
2460 default: 2460 default:
2461 goto die; 2461 goto die;
2462 - }  
2463 - /* Stop translation as we may have switched the execution mode */  
2464 - ctx->bstate = BS_STOP; 2462 + }
  2463 + /* Stop translation as we may have switched the execution mode */
  2464 + ctx->bstate = BS_STOP;
2465 break; 2465 break;
2466 case 12: 2466 case 12:
2467 switch (sel) { 2467 switch (sel) {
@@ -2483,9 +2483,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2483,9 +2483,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2483 // break; 2483 // break;
2484 default: 2484 default:
2485 goto die; 2485 goto die;
2486 - }  
2487 - /* Stop translation as we may have switched the execution mode */  
2488 - ctx->bstate = BS_STOP; 2486 + }
  2487 + /* Stop translation as we may have switched the execution mode */
  2488 + ctx->bstate = BS_STOP;
2489 break; 2489 break;
2490 case 13: 2490 case 13:
2491 switch (sel) { 2491 switch (sel) {
@@ -2495,9 +2495,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2495,9 +2495,9 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2495 break; 2495 break;
2496 default: 2496 default:
2497 goto die; 2497 goto die;
2498 - }  
2499 - /* Stop translation as we may have switched the execution mode */  
2500 - ctx->bstate = BS_STOP; 2498 + }
  2499 + /* Stop translation as we may have switched the execution mode */
  2500 + ctx->bstate = BS_STOP;
2501 break; 2501 break;
2502 case 14: 2502 case 14:
2503 switch (sel) { 2503 switch (sel) {
@@ -2507,7 +2507,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel) @@ -2507,7 +2507,7 @@ static void gen_mtc0 (DisasContext *ctx, int reg, int sel)
2507 break; 2507 break;
2508 default: 2508 default:
2509 goto die; 2509 goto die;
2510 - } 2510 + }
2511 break; 2511 break;
2512 case 15: 2512 case 15:
2513 switch (sel) { 2513 switch (sel) {
@@ -2969,7 +2969,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -2969,7 +2969,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
2969 // break; 2969 // break;
2970 default: 2970 default:
2971 goto die; 2971 goto die;
2972 - } 2972 + }
2973 break; 2973 break;
2974 case 5: 2974 case 5:
2975 switch (sel) { 2975 switch (sel) {
@@ -2983,7 +2983,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -2983,7 +2983,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
2983 break; 2983 break;
2984 default: 2984 default:
2985 goto die; 2985 goto die;
2986 - } 2986 + }
2987 break; 2987 break;
2988 case 6: 2988 case 6:
2989 switch (sel) { 2989 switch (sel) {
@@ -3013,7 +3013,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3013,7 +3013,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3013 // break; 3013 // break;
3014 default: 3014 default:
3015 goto die; 3015 goto die;
3016 - } 3016 + }
3017 break; 3017 break;
3018 case 7: 3018 case 7:
3019 switch (sel) { 3019 switch (sel) {
@@ -3023,7 +3023,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3023,7 +3023,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3023 break; 3023 break;
3024 default: 3024 default:
3025 goto die; 3025 goto die;
3026 - } 3026 + }
3027 break; 3027 break;
3028 case 8: 3028 case 8:
3029 switch (sel) { 3029 switch (sel) {
@@ -3033,7 +3033,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3033,7 +3033,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3033 break; 3033 break;
3034 default: 3034 default:
3035 goto die; 3035 goto die;
3036 - } 3036 + }
3037 break; 3037 break;
3038 case 9: 3038 case 9:
3039 switch (sel) { 3039 switch (sel) {
@@ -3044,7 +3044,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3044,7 +3044,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3044 /* 6,7 are implementation dependent */ 3044 /* 6,7 are implementation dependent */
3045 default: 3045 default:
3046 goto die; 3046 goto die;
3047 - } 3047 + }
3048 break; 3048 break;
3049 case 10: 3049 case 10:
3050 switch (sel) { 3050 switch (sel) {
@@ -3054,7 +3054,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3054,7 +3054,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3054 break; 3054 break;
3055 default: 3055 default:
3056 goto die; 3056 goto die;
3057 - } 3057 + }
3058 break; 3058 break;
3059 case 11: 3059 case 11:
3060 switch (sel) { 3060 switch (sel) {
@@ -3062,10 +3062,10 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3062,10 +3062,10 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3062 gen_op_mfc0_compare(); 3062 gen_op_mfc0_compare();
3063 rn = "Compare"; 3063 rn = "Compare";
3064 break; 3064 break;
3065 - /* 6,7 are implementation dependent */ 3065 + /* 6,7 are implementation dependent */
3066 default: 3066 default:
3067 goto die; 3067 goto die;
3068 - } 3068 + }
3069 break; 3069 break;
3070 case 12: 3070 case 12:
3071 switch (sel) { 3071 switch (sel) {
@@ -3087,7 +3087,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3087,7 +3087,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3087 break; 3087 break;
3088 default: 3088 default:
3089 goto die; 3089 goto die;
3090 - } 3090 + }
3091 break; 3091 break;
3092 case 13: 3092 case 13:
3093 switch (sel) { 3093 switch (sel) {
@@ -3097,7 +3097,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3097,7 +3097,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3097 break; 3097 break;
3098 default: 3098 default:
3099 goto die; 3099 goto die;
3100 - } 3100 + }
3101 break; 3101 break;
3102 case 14: 3102 case 14:
3103 switch (sel) { 3103 switch (sel) {
@@ -3107,7 +3107,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3107,7 +3107,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3107 break; 3107 break;
3108 default: 3108 default:
3109 goto die; 3109 goto die;
3110 - } 3110 + }
3111 break; 3111 break;
3112 case 15: 3112 case 15:
3113 switch (sel) { 3113 switch (sel) {
@@ -3121,7 +3121,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3121,7 +3121,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3121 break; 3121 break;
3122 default: 3122 default:
3123 goto die; 3123 goto die;
3124 - } 3124 + }
3125 break; 3125 break;
3126 case 16: 3126 case 16:
3127 switch (sel) { 3127 switch (sel) {
@@ -3406,7 +3406,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel) @@ -3406,7 +3406,7 @@ static void gen_dmfc0 (DisasContext *ctx, int reg, int sel)
3406 } 3406 }
3407 break; 3407 break;
3408 default: 3408 default:
3409 - goto die; 3409 + goto die;
3410 } 3410 }
3411 #if defined MIPS_DEBUG_DISAS 3411 #if defined MIPS_DEBUG_DISAS
3412 if (loglevel & CPU_LOG_TB_IN_ASM) { 3412 if (loglevel & CPU_LOG_TB_IN_ASM) {
@@ -3537,7 +3537,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3537,7 +3537,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3537 break; 3537 break;
3538 default: 3538 default:
3539 goto die; 3539 goto die;
3540 - } 3540 + }
3541 break; 3541 break;
3542 case 4: 3542 case 4:
3543 switch (sel) { 3543 switch (sel) {
@@ -3551,7 +3551,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3551,7 +3551,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3551 // break; 3551 // break;
3552 default: 3552 default:
3553 goto die; 3553 goto die;
3554 - } 3554 + }
3555 break; 3555 break;
3556 case 5: 3556 case 5:
3557 switch (sel) { 3557 switch (sel) {
@@ -3565,7 +3565,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3565,7 +3565,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3565 break; 3565 break;
3566 default: 3566 default:
3567 goto die; 3567 goto die;
3568 - } 3568 + }
3569 break; 3569 break;
3570 case 6: 3570 case 6:
3571 switch (sel) { 3571 switch (sel) {
@@ -3595,7 +3595,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3595,7 +3595,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3595 // break; 3595 // break;
3596 default: 3596 default:
3597 goto die; 3597 goto die;
3598 - } 3598 + }
3599 break; 3599 break;
3600 case 7: 3600 case 7:
3601 switch (sel) { 3601 switch (sel) {
@@ -3605,7 +3605,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3605,7 +3605,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3605 break; 3605 break;
3606 default: 3606 default:
3607 goto die; 3607 goto die;
3608 - } 3608 + }
3609 break; 3609 break;
3610 case 8: 3610 case 8:
3611 /* ignored */ 3611 /* ignored */
@@ -3617,12 +3617,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3617,12 +3617,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3617 gen_op_mtc0_count(); 3617 gen_op_mtc0_count();
3618 rn = "Count"; 3618 rn = "Count";
3619 break; 3619 break;
3620 - /* 6,7 are implementation dependent */ 3620 + /* 6,7 are implementation dependent */
3621 default: 3621 default:
3622 goto die; 3622 goto die;
3623 - }  
3624 - /* Stop translation as we may have switched the execution mode */  
3625 - ctx->bstate = BS_STOP; 3623 + }
  3624 + /* Stop translation as we may have switched the execution mode */
  3625 + ctx->bstate = BS_STOP;
3626 break; 3626 break;
3627 case 10: 3627 case 10:
3628 switch (sel) { 3628 switch (sel) {
@@ -3632,7 +3632,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3632,7 +3632,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3632 break; 3632 break;
3633 default: 3633 default:
3634 goto die; 3634 goto die;
3635 - } 3635 + }
3636 break; 3636 break;
3637 case 11: 3637 case 11:
3638 switch (sel) { 3638 switch (sel) {
@@ -3640,12 +3640,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3640,12 +3640,12 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3640 gen_op_mtc0_compare(); 3640 gen_op_mtc0_compare();
3641 rn = "Compare"; 3641 rn = "Compare";
3642 break; 3642 break;
3643 - /* 6,7 are implementation dependent */ 3643 + /* 6,7 are implementation dependent */
3644 default: 3644 default:
3645 goto die; 3645 goto die;
3646 - }  
3647 - /* Stop translation as we may have switched the execution mode */  
3648 - ctx->bstate = BS_STOP; 3646 + }
  3647 + /* Stop translation as we may have switched the execution mode */
  3648 + ctx->bstate = BS_STOP;
3649 break; 3649 break;
3650 case 12: 3650 case 12:
3651 switch (sel) { 3651 switch (sel) {
@@ -3665,11 +3665,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3665,11 +3665,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3665 gen_op_mtc0_srsmap(); /* shadow registers */ 3665 gen_op_mtc0_srsmap(); /* shadow registers */
3666 rn = "SRSMap"; 3666 rn = "SRSMap";
3667 break; 3667 break;
3668 - default: 3668 + default:
3669 goto die; 3669 goto die;
3670 - }  
3671 - /* Stop translation as we may have switched the execution mode */  
3672 - ctx->bstate = BS_STOP; 3670 + }
  3671 + /* Stop translation as we may have switched the execution mode */
  3672 + ctx->bstate = BS_STOP;
3673 break; 3673 break;
3674 case 13: 3674 case 13:
3675 switch (sel) { 3675 switch (sel) {
@@ -3679,9 +3679,9 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3679,9 +3679,9 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3679 break; 3679 break;
3680 default: 3680 default:
3681 goto die; 3681 goto die;
3682 - }  
3683 - /* Stop translation as we may have switched the execution mode */  
3684 - ctx->bstate = BS_STOP; 3682 + }
  3683 + /* Stop translation as we may have switched the execution mode */
  3684 + ctx->bstate = BS_STOP;
3685 break; 3685 break;
3686 case 14: 3686 case 14:
3687 switch (sel) { 3687 switch (sel) {
@@ -3691,7 +3691,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3691,7 +3691,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3691 break; 3691 break;
3692 default: 3692 default:
3693 goto die; 3693 goto die;
3694 - } 3694 + }
3695 break; 3695 break;
3696 case 15: 3696 case 15:
3697 switch (sel) { 3697 switch (sel) {
@@ -3705,7 +3705,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3705,7 +3705,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3705 break; 3705 break;
3706 default: 3706 default:
3707 goto die; 3707 goto die;
3708 - } 3708 + }
3709 break; 3709 break;
3710 case 16: 3710 case 16:
3711 switch (sel) { 3711 switch (sel) {
@@ -3844,7 +3844,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3844,7 +3844,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3844 case 22: 3844 case 22:
3845 /* ignored */ 3845 /* ignored */
3846 rn = "Diagnostic"; /* implementation dependent */ 3846 rn = "Diagnostic"; /* implementation dependent */
3847 - break; 3847 + break;
3848 case 23: 3848 case 23:
3849 switch (sel) { 3849 switch (sel) {
3850 case 0: 3850 case 0:
@@ -3920,11 +3920,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3920,11 +3920,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3920 default: 3920 default:
3921 goto die; 3921 goto die;
3922 } 3922 }
3923 - break; 3923 + break;
3924 case 26: 3924 case 26:
3925 - /* ignored */ 3925 + /* ignored */
3926 rn = "ECC"; 3926 rn = "ECC";
3927 - break; 3927 + break;
3928 case 27: 3928 case 27:
3929 switch (sel) { 3929 switch (sel) {
3930 case 0 ... 3: 3930 case 0 ... 3:
@@ -3934,7 +3934,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3934,7 +3934,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3934 default: 3934 default:
3935 goto die; 3935 goto die;
3936 } 3936 }
3937 - break; 3937 + break;
3938 case 28: 3938 case 28:
3939 switch (sel) { 3939 switch (sel) {
3940 case 0: 3940 case 0:
@@ -3975,7 +3975,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3975,7 +3975,7 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3975 rn = "invalid sel"; 3975 rn = "invalid sel";
3976 goto die; 3976 goto die;
3977 } 3977 }
3978 - break; 3978 + break;
3979 case 30: 3979 case 30:
3980 switch (sel) { 3980 switch (sel) {
3981 case 0: 3981 case 0:
@@ -3995,11 +3995,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel) @@ -3995,11 +3995,11 @@ static void gen_dmtc0 (DisasContext *ctx, int reg, int sel)
3995 default: 3995 default:
3996 goto die; 3996 goto die;
3997 } 3997 }
3998 - /* Stop translation as we may have switched the execution mode */  
3999 - ctx->bstate = BS_STOP; 3998 + /* Stop translation as we may have switched the execution mode */
  3999 + ctx->bstate = BS_STOP;
4000 break; 4000 break;
4001 default: 4001 default:
4002 - goto die; 4002 + goto die;
4003 } 4003 }
4004 #if defined MIPS_DEBUG_DISAS 4004 #if defined MIPS_DEBUG_DISAS
4005 if (loglevel & CPU_LOG_TB_IN_ASM) { 4005 if (loglevel & CPU_LOG_TB_IN_ASM) {