summaryrefslogtreecommitdiffstats
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-21 06:52:23 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-21 06:52:23 +0000
commit40e55fbbd58fe04a45af0335bc0b945cec36c9c9 (patch)
tree0d4b948f3cd1c5a953e88b9bfe820b459208b6a4 /gcc/value-prof.c
parentcae385f78cda7853d57e5fb2ec23a9cd7a045631 (diff)
downloadppe42-gcc-40e55fbbd58fe04a45af0335bc0b945cec36c9c9.tar.gz
ppe42-gcc-40e55fbbd58fe04a45af0335bc0b945cec36c9c9.zip
* ChangeLog.7: Fix comment typos.
* c-common.c: Likewise. * c-pretty-print.c: Likewise. * cgraphunit.c: Likewise. * et-forest.h: Likewise. * expr.c: Likewise. * gcse.c: Likewise. * genautomata.c: Likewise. * genrecog.c: Likewise. * gensupport.c: Likewise. * ggc-zone.c: Likewise. * haifa-sched.c: Likewise. * ifcvt.c: Likewise. * loop.c: Likewise. * optabs.c: Likewise. * pretty-print.h: Likewise. * regrename.c: Likewise. * rtl.h: Likewise. * sched-rgn.c: Likewise. * target.h: Likewise. * value-prof.c: Likewise. * web.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 0cc3fe3128e..4f6f3da599a 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -132,7 +132,7 @@ insn_divmod_values_to_profile (rtx insn, unsigned *n_values,
(*n_values)++;
}
- /* For mod, check whether it is not often a noop (or replacable by
+ /* For mod, check whether it is not often a noop (or replaceable by
a few subtractions). */
if (GET_CODE (set_src) == UMOD && !side_effects_p (op1))
{
@@ -446,9 +446,9 @@ divmod_fixed_value_transform (rtx insn)
histogram = XEXP (histogram, 1);
all = INTVAL (XEXP (histogram, 0));
- /* We requiere that count is at least half of all; this means
+ /* We require that count is at least half of all; this means
that for the transformation to fire the value must be constant
- at least 50% of time (and 75% gives the garantee of usage). */
+ at least 50% of time (and 75% gives the guarantee of usage). */
if (!rtx_equal_p (op2, value) || 2 * count < all)
return false;
OpenPOWER on IntegriCloud