From: Richard Henderson Date: Sat, 24 Mar 2012 16:51:06 +0000 (-0700) Subject: alpha-linux-user: Initialize fpu to round-to-normal. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~709 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b74505331fdd701557b01dd09ae9a62f31ea994;p=sdk%2Femulator%2Fqemu.git alpha-linux-user: Initialize fpu to round-to-normal. Signed-off-by: Richard Henderson Signed-off-by: Blue Swirl --- 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;