diff options
author | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-06-12 10:22:22 +0000 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-06-12 10:22:22 +0000 |
commit | aa18f20e7406ee235e94d6360bf4b3e349088544 (patch) | |
tree | 487d80a5d58a9011b3ff04980963adc35c2b444a /gcc/predict.def | |
parent | 7bdcf888aaa78808dc2dd4e16e70458244a607be (diff) | |
download | gcc-aa18f20e7406ee235e94d6360bf4b3e349088544.zip gcc-aa18f20e7406ee235e94d6360bf4b3e349088544.tar.gz gcc-aa18f20e7406ee235e94d6360bf4b3e349088544.tar.bz2 |
loop.c: Include predict.h
* loop.c: Include predict.h
(strength_reduce): Drop branch prediction note in case
number of iterations is known.
* predict.def (PRED_LOOP_ITERATIONS): new.
* Makefile.in (loop.o): Add dependancy on predict.h
From-SVN: r43251
Diffstat (limited to 'gcc/predict.def')
-rw-r--r-- | gcc/predict.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/predict.def b/gcc/predict.def index f910f3b..01d87a4 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -38,6 +38,7 @@ Boston, MA 02111-1307, USA. */ DEF_PREDICTOR (PRED_FIRST_MATCH, "first match", PROB_ALWAYS) DEF_PREDICTOR (PRED_UNCONDITIONAL, "unconditional jump", PROB_ALWAYS) +DEF_PREDICTOR (PRED_LOOP_ITERATIONS, "loop iterations", PROB_ALWAYS) DEF_PREDICTOR (PRED_BUILTIN_EXPECT, "__builtin_expect", PROB_VERY_LIKELY) DEF_PREDICTOR (PRED_NORETURN, "noreturn call", PROB_ALWAYS) DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop branch", PROB_VERY_LIKELY) |