Revision 26ac1ea5 target-sh4/translate.c

b/target-sh4/translate.c
203 203
    env->fpscr = FPSCR_PR; /* value for userspace according to the kernel */
204 204
    set_float_rounding_mode(float_round_nearest_even, &env->fp_status); /* ?! */
205 205
#else
206
    env->fpscr = 0x00040001; /* CPU reset value according to SH4 manual */
206
    env->fpscr = FPSCR_DN | FPSCR_RM_ZERO; /* CPU reset value according to SH4 manual */
207 207
    set_float_rounding_mode(float_round_to_zero, &env->fp_status);
208 208
#endif
209
    set_default_nan_mode(1, &env->vfp.fp_status);
209
    set_default_nan_mode(1, &env->fp_status);
210 210
    env->mmucr = 0;
211 211
}
212 212

  

Also available in: Unified diff