From dbc168afd24e5a0bd986fff9bc6d925a1de2cbc4 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 8 Nov 2000 23:19:45 +0000 Subject: [PATCH] 2000-11-09 Ben Elliston * sim-fpu.c (sim_fpu_one): Set exponent to 0. (sim_fpu_two): Set exponent to 1. --- sim/common/ChangeLog | 5 +++++ sim/common/sim-fpu.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 32b9762494c..a9018364144 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2000-11-09 Ben Elliston + + * sim-fpu.c (sim_fpu_one): Set exponent to 0. + (sim_fpu_two): Set exponent to 1. + 2000-10-26 Ben Elliston * 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 99381e06b17..3214bb4dd4f 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 -- 2.30.2