summaryrefslogtreecommitdiff
path: root/gcc/fixed-value.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-01 20:13:45 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-01 20:13:45 +0000
commitbecfaa6206281ee8bb5d22ca461fa08568e7dc8c (patch)
tree45757e42a145a2d8be0144b7e44a0c40f3c59cdf /gcc/fixed-value.c
parentbf8496673bf063a69114446800256803d8ef6786 (diff)
downloadgcc-becfaa6206281ee8bb5d22ca461fa08568e7dc8c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128016 138bc75d-0d04-0410-961f-82ee72b054a4
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 705f4ca3de7..aca386a6d9c 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. */