diff options
| author | Richard Henderson | 2012-03-24 17:51:06 +0100 |
|---|---|---|
| committer | Blue Swirl | 2012-03-24 18:07:25 +0100 |
| commit | 7b74505331fdd701557b01dd09ae9a62f31ea994 (patch) | |
| tree | 8adef74614e7e6604a4ed3ef07dca333a9aa5cbb /target-alpha | |
| parent | gdbserver: Don't send a GDB syscall until the system CPU is stopped (diff) | |
| download | qemu-7b74505331fdd701557b01dd09ae9a62f31ea994.tar.gz qemu-7b74505331fdd701557b01dd09ae9a62f31ea994.tar.xz qemu-7b74505331fdd701557b01dd09ae9a62f31ea994.zip | |
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>
Diffstat (limited to 'target-alpha')
| -rw-r--r-- | target-alpha/translate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index b51fe5c8da..2c246193b2 100644 --- 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; |
