diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-30 15:54:12 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-30 15:54:12 +0000 |
commit | 49493a4eee2b575cb7b5aac3a3ef8848d77e2bea (patch) | |
tree | c2af7e070b078fe76de14f6f69265751d4ccb7b0 /gcc/predict.def | |
parent | d5d994d40863d8333219102e5b2687485a5f12d7 (diff) | |
download | gcc-49493a4eee2b575cb7b5aac3a3ef8848d77e2bea.tar.gz |
* predict.def (noreturn, loop branch, loop exit): Mark as first
match heuristics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.def')
-rw-r--r-- | gcc/predict.def | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/predict.def b/gcc/predict.def index 577f035e97e..28b0bbfa5af 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -58,13 +58,16 @@ DEF_PREDICTOR (PRED_BUILTIN_EXPECT, "__builtin_expect", PROB_VERY_LIKELY, PRED_FLAG_FIRST_MATCH) /* Branch to basic block containing call marked by noreturn attribute. */ -DEF_PREDICTOR (PRED_NORETURN, "noreturn call", PROB_ALWAYS, 0) +DEF_PREDICTOR (PRED_NORETURN, "noreturn call", PROB_ALWAYS, + PRED_FLAG_FIRST_MATCH) /* Loopback edge is taken. */ -DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop branch", HITRATE (88), 0) +DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop branch", HITRATE (88), + PRED_FLAG_FIRST_MATCH) /* Edge causing loop to terminate is probably not taken. */ -DEF_PREDICTOR (PRED_LOOP_EXIT, "loop exit", HITRATE (80), 0) +DEF_PREDICTOR (PRED_LOOP_EXIT, "loop exit", HITRATE (80), + PRED_FLAG_FIRST_MATCH) /* Condition emitted by preconditiong code to ensure that variable setting number of iterations is greater than initial value of iterator. */ |