* sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
SIM_QUIET_NAN_NEGATED.
This commit is contained in:
parent
41ec9f205e
commit
3ae2e9a36f
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-08-29 Thiemo Seufer <ths@mips.com>
|
||||
Nigel Stephens <nigel@mips.com>
|
||||
|
||||
* sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
|
||||
SIM_QUIET_NAN_NEGATED.
|
||||
|
||||
2006-08-29 Nigel Stephens <nigel@mips.com>
|
||||
|
||||
* sim-profile.c (profile_pc_init): Initialise default profiling
|
||||
|
|
|
@ -213,7 +213,11 @@ pack_fpu (const sim_fpu *src,
|
|||
/* force fraction to correct class */
|
||||
fraction = src->fraction;
|
||||
fraction >>= NR_GUARDS;
|
||||
#ifdef SIM_QUIET_NAN_NEGATED
|
||||
fraction |= QUIET_NAN;
|
||||
#else
|
||||
fraction &= ~QUIET_NAN;
|
||||
#endif
|
||||
break;
|
||||
case sim_fpu_class_infinity:
|
||||
sign = src->sign;
|
||||
|
|
Loading…
Reference in a new issue