Ian Lance Taylor
efd3631498
* sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
2005-07-08 18:46:23 +00:00
Ian Lance Taylor
09b96ea041
* sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
...
different fraction for a quiet NaN.
(unpack_fpu): Likewise.
2005-07-08 18:41:54 +00:00
Andrew Cagney
1f1b28179f
2003-06-22 Andrew Cagney <cagney@redhat.com>
...
From matthew green <mrg@redhat.com>:
* sim-fpu.h: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New prototypes.
* sim-fpu.c: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New inline functions.
2003-06-22 13:36:26 +00:00
Andrew Cagney
4056a1ef29
Oops! Committed to much, reverting :-(
2003-06-22 13:31:57 +00:00
Andrew Cagney
89c0d7ddd7
Fix changelog
2003-06-22 13:29:17 +00:00
Chris Demetriou
127a77fee0
2002-11-27 Richard Sandiford <rsandifo@redhat.com>
...
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
2002-11-28 01:32:03 +00:00
Aldy Hernandez
7d7d930f7a
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-12 00:46:11 +00:00
Ben Elliston
b94c096644
2000-12-15 Ben Elliston <bje@redhat.com>
...
* sim-fpu.h (sim_fpu_printn_fpu): Declare.
* sim-fpu.c (print_bits): Add digits parameter. Print only as many
trailing digits as specified (-1 to print all digits).
(sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
(sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
to print_bits ().
2000-12-23 11:51:04 +00:00
Ben Elliston
dbc168afd2
2000-11-09 Ben Elliston <bje@redhat.com>
...
* sim-fpu.c (sim_fpu_one): Set exponent to 0.
(sim_fpu_two): Set exponent to 1.
2000-11-08 23:19:45 +00:00
Jason Molenda
c2c6d25f0d
import gdb-1999-09-21
1999-09-22 03:28:34 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
Andrew Cagney
7d93d53871
o CVT.S.W and CVT.W.S were reversed
...
o When unpacking an r5900 FP value,
was not treating IEEE-NaN's as very
large values.
o When packing an r5900 FP result from an infinite
precision intermediate value was saturating
to IEEE-MAX instead of r5900-MAX
o The least significant bit of the FP status
register did not stick to one.
1998-04-16 07:49:58 +00:00
Andrew Cagney
278bda4050
Cleanup INLINE support for simulators using common framework.
...
Make IGEN responsible for co-ordinating inlining of generated files.
By default, aclocal.m4 disabled all inlining.
1998-04-04 12:33:11 +00:00
Andrew Cagney
390ffa8935
Extend TRACE macros to include more cases.
...
Add MAX/MIN floating point functions.
Add max32, min32 floating point contstants.
1998-02-25 15:15:08 +00:00
Andrew Cagney
bdfe5c0439
* sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
...
(sim_fpu_fpto, sim_fpu_tofp): Define.
1998-02-23 09:18:30 +00:00
Andrew Cagney
9655c43963
Implement sim_fpu_is() and sim_fpu_cmp(). Note problem with detecting
...
denorms.
1998-02-20 07:20:53 +00:00
Andrew Cagney
f90b720ba1
Passify GCC. Convert 0x0LL to something more portable in the FP code.
1997-08-30 00:02:19 +00:00
Michael Meissner
63aa80ff51
Treat infinities like normal numbers for purposes of comparisons
1997-05-17 02:28:11 +00:00
Andrew Cagney
07b4c0a66c
Remove some of the flake from the c80 floating point.
1997-05-15 16:39:38 +00:00
Andrew Cagney
d24f06eef2
More floating point operations.
1997-05-15 02:22:37 +00:00
Andrew Cagney
3971886ac1
Add flakey floating-point support to the TI c80 simulator.
1997-05-05 12:46:25 +00:00