forked from Imagelibrary/binutils-gdb
002-06-09 Aldy Hernandez <aldyh@redhat.com>
* sim-fpu.c (unpack_fpu): Initialize exponent for
sim_fpu_class_zero.
(i2fpu): Same.
(sim_fpu_sqrt): Same.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
002-06-09 Aldy Hernandez <aldyh@redhat.com>
|
||||||
|
|
||||||
|
* sim-fpu.c (unpack_fpu): Initialize exponent for
|
||||||
|
sim_fpu_class_zero.
|
||||||
|
(i2fpu): Same.
|
||||||
|
(sim_fpu_sqrt): Same.
|
||||||
|
|
||||||
2002-06-08 Andrew Cagney <cagney@redhat.com>
|
2002-06-08 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* gentmap.c (gen_targ_map_c): Generate "gdb/callback.h".
|
* gentmap.c (gen_targ_map_c): Generate "gdb/callback.h".
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ unpack_fpu (sim_fpu *dst, unsigned64 packed, int is_double)
|
|||||||
/* tastes like zero */
|
/* tastes like zero */
|
||||||
dst->class = sim_fpu_class_zero;
|
dst->class = sim_fpu_class_zero;
|
||||||
dst->sign = sign;
|
dst->sign = sign;
|
||||||
|
dst->normal_exp = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -520,6 +521,7 @@ i2fpu (sim_fpu *f, signed64 i, int is_64bit)
|
|||||||
{
|
{
|
||||||
f->class = sim_fpu_class_zero;
|
f->class = sim_fpu_class_zero;
|
||||||
f->sign = 0;
|
f->sign = 0;
|
||||||
|
f->normal_exp = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -648,6 +650,7 @@ u2fpu (sim_fpu *f, unsigned64 u, int is_64bit)
|
|||||||
{
|
{
|
||||||
f->class = sim_fpu_class_zero;
|
f->class = sim_fpu_class_zero;
|
||||||
f->sign = 0;
|
f->sign = 0;
|
||||||
|
f->normal_exp = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1799,6 +1802,7 @@ sim_fpu_sqrt (sim_fpu *f,
|
|||||||
{
|
{
|
||||||
f->class = sim_fpu_class_zero;
|
f->class = sim_fpu_class_zero;
|
||||||
f->sign = r->sign;
|
f->sign = r->sign;
|
||||||
|
f->normal_exp = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (sim_fpu_is_infinity (r))
|
if (sim_fpu_is_infinity (r))
|
||||||
|
|||||||
Reference in New Issue
Block a user