alpha-linux-user: Initialize fpu to round-to-normal.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
cdb432b202
commit
7b74505331
@ -3513,7 +3513,8 @@ CPUAlphaState * cpu_alpha_init (const char *cpu_model)
|
||||
#if defined (CONFIG_USER_ONLY)
|
||||
env->ps = PS_USER_MODE;
|
||||
cpu_alpha_store_fpcr(env, (FPCR_INVD | FPCR_DZED | FPCR_OVFD
|
||||
| FPCR_UNFD | FPCR_INED | FPCR_DNOD));
|
||||
| FPCR_UNFD | FPCR_INED | FPCR_DNOD
|
||||
| FPCR_DYN_NORMAL));
|
||||
#endif
|
||||
env->lock_addr = -1;
|
||||
env->fen = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user