Revision b0b3de89
b/target-sh4/translate.c | ||
---|---|---|
133 | 133 |
env->pc = 0xA0000000; |
134 | 134 |
#if defined(CONFIG_USER_ONLY) |
135 | 135 |
env->fpscr = FPSCR_PR; /* value for userspace according to the kernel */ |
136 |
env->fp_status.float_rounding_mode = float_round_nearest_even; /* ?! */
|
|
136 |
set_float_rounding_mode(float_round_nearest_even, &env->fp_status); /* ?! */
|
|
137 | 137 |
#else |
138 | 138 |
env->fpscr = 0x00040001; /* CPU reset value according to SH4 manual */ |
139 |
env->fp_status.float_rounding_mode = float_round_to_zero;
|
|
139 |
set_float_rounding_mode(float_round_to_zero, &env->fp_status);
|
|
140 | 140 |
#endif |
141 | 141 |
env->mmucr = 0; |
142 | 142 |
} |
Also available in: Unified diff