aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2000-11-08 23:19:45 +0000
committerBen Elliston <bje@au.ibm.com>2000-11-08 23:19:45 +0000
commitdbc168afd24e5a0bd986fff9bc6d925a1de2cbc4 (patch)
treeae05140d41270451aae2ebc6d0deaa58268f64b0 /sim
parent620abd4dfd1816dc9b2880a713d2473e6b7cafaa (diff)
downloadgdb-dbc168afd24e5a0bd986fff9bc6d925a1de2cbc4.zip
gdb-dbc168afd24e5a0bd986fff9bc6d925a1de2cbc4.tar.gz
gdb-dbc168afd24e5a0bd986fff9bc6d925a1de2cbc4.tar.bz2
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.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/sim-fpu.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 32b9762..a901836 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+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-10-26 Ben Elliston <bje@redhat.com>
* cgen.sh: Handle an isa argument between cpu and mach. Default to
diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c
index 99381e0..3214bb4 100644
--- a/sim/common/sim-fpu.c
+++ b/sim/common/sim-fpu.c
@@ -2456,10 +2456,10 @@ const sim_fpu sim_fpu_qnan = {
sim_fpu_class_qnan,
};
const sim_fpu sim_fpu_one = {
- sim_fpu_class_number, 0, IMPLICIT_1, 1
+ sim_fpu_class_number, 0, IMPLICIT_1, 0
};
const sim_fpu sim_fpu_two = {
- sim_fpu_class_number, 0, IMPLICIT_1, 2
+ sim_fpu_class_number, 0, IMPLICIT_1, 1
};
const sim_fpu sim_fpu_max32 = {
sim_fpu_class_number, 0, LSMASK64 (NR_FRAC_GUARD, NR_GUARDS32), NORMAL_EXPMAX32