diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-31 11:40:11 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-31 11:40:11 +0000 |
commit | fc29fdf52bb38c97e9a509b8a667cc81e741d740 (patch) | |
tree | 57ded3bb457ee70d3fede2ec7f8847787321ac33 /gcc/predict.def | |
parent | 302e9fd31d51226850543a66d9112917de4c37d4 (diff) | |
download | gcc-fc29fdf52bb38c97e9a509b8a667cc81e741d740.tar.gz |
* gcc.target/i386/cold-attribute-1.c: New testcase.
* gcc.target/i386/cold-attribute-2.c: New testcase.
* gcc.target/i386/cold-attribute-3.c: New testcase.
* gcc.target/i386/cold-attribute-4.c: New testcase.
* predict.c (PROB_VERY_LIKELY): Make small enough so things
become cold.
* predict.def (PRED_NORETURN_CALL, PRED_COLD_CALL): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139827 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.def')
-rw-r--r-- | gcc/predict.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/predict.def b/gcc/predict.def index 62ae9d9f8d3..e97e563fdb4 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -69,11 +69,11 @@ DEF_PREDICTOR (PRED_LOOP_ITERATIONS_GUESSED, "guessed loop iterations", DEF_PREDICTOR (PRED_CONTINUE, "continue", HITRATE (50), 0) /* Branch to basic block containing call marked by noreturn attribute. */ -DEF_PREDICTOR (PRED_NORETURN, "noreturn call", HITRATE (99), +DEF_PREDICTOR (PRED_NORETURN, "noreturn call", PROB_VERY_LIKELY, PRED_FLAG_FIRST_MATCH) /* Branch to basic block containing call marked by cold function attribute. */ -DEF_PREDICTOR (PRED_COLD_FUNCTION, "cold function call", HITRATE (99), +DEF_PREDICTOR (PRED_COLD_FUNCTION, "cold function call", PROB_VERY_LIKELY, PRED_FLAG_FIRST_MATCH) /* Loopback edge is taken. */ |