diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-12 10:22:22 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-12 10:22:22 +0000 |
commit | 482cd3c164c13038d7c0230946014754ae161fec (patch) | |
tree | 487d80a5d58a9011b3ff04980963adc35c2b444a /gcc/predict.def | |
parent | 1bea8da88c4eb517e110b8f11b758a2ea5ea9959 (diff) | |
download | gcc-482cd3c164c13038d7c0230946014754ae161fec.tar.gz |
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43251 138bc75d-0d04-0410-961f-82ee72b054a4
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 f910f3ba72f..01d87a4c3f0 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) |