projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f4927
)
target-alpha: Initialize fpcr
author
Richard Henderson
<rth@twiddle.net>
Mon, 21 Dec 2009 21:02:40 +0000
(13:02 -0800)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Wed, 23 Dec 2009 06:13:45 +0000
(07:13 +0100)
Linux, at least, disables exceptions by default.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-alpha/translate.c
patch
|
blob
|
history
diff --git
a/target-alpha/translate.c
b/target-alpha/translate.c
index 5e0647b034f76e1a2de825d4c6fb93816831cc0e..87813e7dd339f4eca2a9e246af8b5d970a47f743 100644
(file)
--- a/
target-alpha/translate.c
+++ b/
target-alpha/translate.c
@@
-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 */