diff options
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/helper.c | 2 | ||||
-rw-r--r-- | target-mips/op_helper.c | 8 | ||||
-rw-r--r-- | target-mips/translate.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c index 9a503456b6..6310d68487 100644 --- a/target-mips/helper.c +++ b/target-mips/helper.c @@ -293,7 +293,7 @@ int cpu_mips_handle_mmu_fault (CPUState *env, target_ulong address, int rw, /* TLB match but 'D' bit is cleared */ exception = EXCP_LTLBL; break; - + } /* Raise exception */ env->CP0_BadVAddr = address; diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 9d2f99e668..6405f80666 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -321,21 +321,21 @@ void fpu_handle_exception(void) enable = GET_FP_ENABLE(env->fpu->fcr31); - /* determine current flags */ + /* determine current flags */ if (flags & float_flag_invalid) { cpuflags |= FP_INVALID; cause |= FP_INVALID & enable; } if (flags & float_flag_divbyzero) { - cpuflags |= FP_DIV0; + cpuflags |= FP_DIV0; cause |= FP_DIV0 & enable; } if (flags & float_flag_overflow) { - cpuflags |= FP_OVERFLOW; + cpuflags |= FP_OVERFLOW; cause |= FP_OVERFLOW & enable; } if (flags & float_flag_underflow) { - cpuflags |= FP_UNDERFLOW; + cpuflags |= FP_UNDERFLOW; cause |= FP_UNDERFLOW & enable; } if (flags & float_flag_inexact) { diff --git a/target-mips/translate.c b/target-mips/translate.c index ee15193c24..8e6fe0e208 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -6514,7 +6514,7 @@ done_generating: fprintf(logfile, "---------------- %d %08x\n", ctx.bstate, ctx.hflags); } #endif - + return 0; } @@ -6613,7 +6613,7 @@ void cpu_dump_state (CPUState *env, FILE *f, int flags) { int i; - + cpu_fprintf(f, "pc=0x" TARGET_FMT_lx " HI=0x" TARGET_FMT_lx " LO=0x" TARGET_FMT_lx " ds %04x " TARGET_FMT_lx " %d\n", env->PC[env->current_tc], env->HI[env->current_tc], env->LO[env->current_tc], env->hflags, env->btarget, env->bcond); for (i = 0; i < 32; i++) { |