OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2011-02-01 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
predict.def
diff --git
a/gcc/predict.def
b/gcc/predict.def
index
a858c01
..
4b3e87a
100644
(file)
--- a/
gcc/predict.def
+++ b/
gcc/predict.def
@@
-1,5
+1,5
@@
/* Definitions for the branch prediction routines in the GNU compiler.
/* Definitions for the branch prediction routines in the GNU compiler.
- Copyright (C) 2001, 2003, 2004, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2004, 2007
, 2008
Free Software Foundation, Inc.
This file is part of GCC.
This file is part of GCC.
@@
-32,7
+32,7
@@
along with GCC; see the file COPYING3. If not see
HITRATE is the probability that edge predicted by predictor as taken
will be really taken (so it should be always above
REG_BR_PROB_BASE / 2). */
HITRATE is the probability that edge predicted by predictor as taken
will be really taken (so it should be always above
REG_BR_PROB_BASE / 2). */
-
+
/* A value used as final outcome of all heuristics. */
DEF_PREDICTOR (PRED_COMBINED, "combined", PROB_ALWAYS, 0)
/* A value used as final outcome of all heuristics. */
DEF_PREDICTOR (PRED_COMBINED, "combined", PROB_ALWAYS, 0)
@@
-66,14
+66,14
@@
DEF_PREDICTOR (PRED_LOOP_ITERATIONS_GUESSED, "guessed loop iterations",
PROB_ALWAYS, PRED_FLAG_FIRST_MATCH)
/* Branch containing goto is probably not taken. */
PROB_ALWAYS, PRED_FLAG_FIRST_MATCH)
/* Branch containing goto is probably not taken. */
-DEF_PREDICTOR (PRED_CONTINUE, "continue", HITRATE (5
6
), 0)
+DEF_PREDICTOR (PRED_CONTINUE, "continue", HITRATE (5
0
), 0)
/* Branch to basic block containing call marked by noreturn attribute. */
/* 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. */
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. */
PRED_FLAG_FIRST_MATCH)
/* Loopback edge is taken. */