This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Spelling corrections to sim-fpu.h
- To: gdb-patches at sources dot redhat dot com
- Subject: Spelling corrections to sim-fpu.h
- From: Ben Elliston <bje at redhat dot com>
- Date: Thu, 9 Nov 2000 10:11:48 +1100
FYI, I am checking in the following patch to correct some spelling
errors/typos in sim/common/sim-fpu.h.
Ben
*** sim-fpu.h 1999/04/16 01:34:57 1.1.1.1
--- sim-fpu.h 2000/11/08 23:09:55
***************
*** 164,172 ****
When converting from the sim_fpu internal type to 32/64 bit packed
format, the operation may result in a loss of precision. The
configuration macro WITH_FPU_CONVERSION controls this. By default,
! silent round to nearest is performed. Alternativly, round up,
round down and round to zero can be performed. In a simulator
! emulating exact FPU behavour, sim_fpu_round_{32,64} should be
called before packing the sim_fpu value. */
INLINE_SIM_FPU (void) sim_fpu_32to (sim_fpu *f, unsigned32 s);
--- 164,172 ----
When converting from the sim_fpu internal type to 32/64 bit packed
format, the operation may result in a loss of precision. The
configuration macro WITH_FPU_CONVERSION controls this. By default,
! silent round to nearest is performed. Alternatively, round up,
round down and round to zero can be performed. In a simulator
! emulating exact FPU behavior, sim_fpu_round_{32,64} should be
called before packing the sim_fpu value. */
INLINE_SIM_FPU (void) sim_fpu_32to (sim_fpu *f, unsigned32 s);
***************
*** 189,195 ****
INLINE_SIM_FPU (void) sim_fpu_fractionto (sim_fpu *f, int sign, int normal_exp, unsigned64 fraction, int precision);
! /* Reverse operaton. If S is a non-zero number, discards the implied
leading one and returns PRECISION fraction bits. No rounding is
performed. */
INLINE_SIM_FPU (unsigned64) sim_fpu_tofraction (const sim_fpu *s, int precision);
--- 189,195 ----
INLINE_SIM_FPU (void) sim_fpu_fractionto (sim_fpu *f, int sign, int normal_exp, unsigned64 fraction, int precision);
! /* Reverse operation. If S is a non-zero number, discards the implied
leading one and returns PRECISION fraction bits. No rounding is
performed. */
INLINE_SIM_FPU (unsigned64) sim_fpu_tofraction (const sim_fpu *s, int precision);
***************
*** 210,216 ****
! /* Arrithmetic operators.
FIXME: In the future, additional arguments ROUNDING and BITSIZE may
be added. */
--- 210,216 ----
! /* Arithmetic operators.
FIXME: In the future, additional arguments ROUNDING and BITSIZE may
be added. */
***************
*** 283,289 ****
/* Conversion of internal sim_fpu type to host double format.
! For debuging/tracing only. A SNaN is never returned. */
/* INLINE_SIM_FPU (float) sim_fpu_2f (const sim_fpu *f); */
INLINE_SIM_FPU (double) sim_fpu_2d (const sim_fpu *d);
--- 283,289 ----
/* Conversion of internal sim_fpu type to host double format.
! For debugging/tracing only. A SNaN is never returned. */
/* INLINE_SIM_FPU (float) sim_fpu_2f (const sim_fpu *f); */
INLINE_SIM_FPU (double) sim_fpu_2d (const sim_fpu *d);