projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdb432b
)
alpha-linux-user: Initialize fpu to round-to-normal.
author
Richard Henderson
<rth@twiddle.net>
Sat, 24 Mar 2012 16:51:06 +0000
(09:51 -0700)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 24 Mar 2012 17:07:25 +0000
(17:07 +0000)
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-alpha/translate.c
patch
|
blob
|
history
diff --git
a/target-alpha/translate.c
b/target-alpha/translate.c
index b51fe5c8da404215a763e18a4b74a707cceada42..2c246193b254130faef1b9b81e82252011353922 100644
(file)
--- a/
target-alpha/translate.c
+++ b/
target-alpha/translate.c
@@
-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;