[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] alpha-user: Initialize FPCR with round-to-nearest.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH] alpha-user: Initialize FPCR with round-to-nearest. |
Date: |
Sun, 11 Mar 2012 11:54:27 -0700 |
Signed-off-by: Richard Henderson <address@hidden>
---
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 1d2142b..fe78630 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;
--
1.7.7.6
- [Qemu-devel] [PATCH] alpha-user: Initialize FPCR with round-to-nearest.,
Richard Henderson <=