Commit 8b7e92f9 by Jan Hubicka Committed by Jan Hubicka

predict.def (noreturn, [...]): Mark as first match heuristics.

	* predict.def (noreturn, loop branch, loop exit): Mark as first
	match heuristics.

From-SVN: r44473
parent 53b475f0
Mon Jul 30 17:44:43 CEST 2001 Jan Hubicka <jh@suse.cz>
* predict.def (noreturn, loop branch, loop exit): Mark as first
match heuristics.
Mon Jul 30 12:52:11 CEST 2001 Jan Hubicka <jh@suse.cz>
* combine.c (try_combine): Avoid barrier after noop jumps.
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment