mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-22 21:42:30 +00:00
target-alpha: Initialize fpcr
Linux, at least, disables exceptions by default. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
56f4927e34
commit
2edd07ef03
@ -2748,6 +2748,8 @@ CPUAlphaState * cpu_alpha_init (const char *cpu_model)
|
||||
env->ps = 0x1F00;
|
||||
#if defined (CONFIG_USER_ONLY)
|
||||
env->ps |= 1 << 3;
|
||||
cpu_alpha_store_fpcr(env, (FPCR_INVD | FPCR_DZED | FPCR_OVFD
|
||||
| FPCR_UNFD | FPCR_INED | FPCR_DNOD));
|
||||
#endif
|
||||
pal_init(env);
|
||||
/* Initialize IPR */
|
||||
|
Loading…
x
Reference in New Issue
Block a user