aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2000-11-08 23:12:43 +0000
committerBen Elliston <bje@au.ibm.com>2000-11-08 23:12:43 +0000
commit620abd4dfd1816dc9b2880a713d2473e6b7cafaa (patch)
tree595116b50e6f2e89482a1d139fe1caa09ca628f9 /sim/common
parentf5a30c2e6e72a64b730f5d10afa0c807a0774369 (diff)
downloadgdb-620abd4dfd1816dc9b2880a713d2473e6b7cafaa.zip
gdb-620abd4dfd1816dc9b2880a713d2473e6b7cafaa.tar.gz
gdb-620abd4dfd1816dc9b2880a713d2473e6b7cafaa.tar.bz2
* Spelling corrections.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/sim-fpu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sim/common/sim-fpu.h b/sim/common/sim-fpu.h
index 05d53c2..1f40676 100644
--- a/sim/common/sim-fpu.h
+++ b/sim/common/sim-fpu.h
@@ -164,9 +164,9 @@ typedef enum
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,
+ silent round to nearest is performed. Alternatively, 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
+ 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,7 +189,7 @@ INLINE_SIM_FPU (void) sim_fpu_to64 (unsigned64 *d, const sim_fpu *f);
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
+/* 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,7 +210,7 @@ INLINE_SIM_FPU (int) sim_fpu_round_64 (sim_fpu *f,
-/* Arrithmetic operators.
+/* Arithmetic operators.
FIXME: In the future, additional arguments ROUNDING and BITSIZE may
be added. */
@@ -283,7 +283,7 @@ INLINE_SIM_FPU (int) sim_fpu_to232u (unsigned64 *h, unsigned64 *l, const sim_fpu
/* Conversion of internal sim_fpu type to host double format.
- For debuging/tracing only. A SNaN is never returned. */
+ 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);