aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixed-value.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-09-01 20:13:45 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-09-01 20:13:45 +0000
commit15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1 (patch)
tree45757e42a145a2d8be0144b7e44a0c40f3c59cdf /gcc/fixed-value.c
parent8785d88cf18403b3f36973820c42ab4990c7a4c5 (diff)
downloadgcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.zip
gcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.tar.gz
gcc-15dc95cbcc21b31f3b5ae50d6172db3c4f4894b1.tar.bz2
arm.c, [...]: Fix comment typos.
* config/arm/arm.c, config/rs6000/ppu_intrinsics.h, config/spu/spu.c, df-scan.c, fixed-value.c, fold-const.c, ginclude/tgmath.h, haifa-sched.c, optabs.c, recog.c, sched-deps.c, sched-int.h, system.h, target.h, tree-ssa-live.c, tree-vect-transform.c, tree-vectorizer.c, tree.def: Fix comment typos. From-SVN: r128016
Diffstat (limited to 'gcc/fixed-value.c')
-rw-r--r--gcc/fixed-value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixed-value.c b/gcc/fixed-value.c
index 705f4ca..aca386a 100644
--- a/gcc/fixed-value.c
+++ b/gcc/fixed-value.c
@@ -553,7 +553,7 @@ do_fixed_divide (FIXED_VALUE_TYPE *f, const FIXED_VALUE_TYPE *a,
&r.low, &r.high, 0);
}
- /* Divide r by pos_b to quo_r. The remanider is in mod. */
+ /* Divide r by pos_b to quo_r. The remainder is in mod. */
div_and_round_double (TRUNC_DIV_EXPR, 1, r.low, r.high, pos_b.low,
pos_b.high, &quo_r.low, &quo_r.high, &mod.low,
&mod.high);
@@ -613,7 +613,7 @@ do_fixed_divide (FIXED_VALUE_TYPE *f, const FIXED_VALUE_TYPE *a,
return overflow_p;
}
-/* Calculate F = A << B if LEFT_P. Otherwies, F = A >> B.
+/* Calculate F = A << B if LEFT_P. Otherwise, F = A >> B.
If SAT_P, saturate the result to the max or the min.
Return true, if !SAT_P and overflow. */