This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: patch: init exponent for sim_fpu_class_zero
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 11 Jun 2002 16:57:23 -0400
- Subject: Re: patch: init exponent for sim_fpu_class_zero
- References: <20020611051437.GA22845@redhat.com>
howdy.
in sim-fpu.c, the exponent is left undefined for zeros (sim_fpu_class_zero).
i am working on a port whose multiply and divide instructions check the
value of the operands' exponent and sign to determine overflow bits to set.
this is obviously not working when the exponent is undefined ;-).
i have verified that i can build the sim and gdb after my change (for
powerpc-eabi).
ok to install?
Hmm, wierd,
+ dst->normal_exp = 0;
of the possible values that is the most intuitive so yes.
Can you, separatly, commit/post a patch adding your self to the
gdb/MAINTAINERS file under write after approva.
Andrew