public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Update predict.def for the fixes
@ 2007-02-28 16:38 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2007-02-28 16:38 UTC (permalink / raw)
  To: gcc-patches

Hi,
this patch updates the outcomes of fixed heuristic based on today
results.  They are pretty much as expected, except for the early return
heuristic still being less reliable than the former variant, but it was
never really good, so I guess it is OK as it is.

Honza

2007-02-28  Jan Hubicka  <jh@suse.cz>
	* predict.def (PRED_TREE_EARLY_RETURN, PRED_CONST_RETURN,
	PRED_NEGATIVE_RETURN): Update outcomes.

Index: predict.def
===================================================================
--- predict.def	(revision 122403)
+++ predict.def	(working copy)
@@ -97,16 +97,16 @@ DEF_PREDICTOR (PRED_TREE_FPOPCODE, "fp_o
 DEF_PREDICTOR (PRED_CALL, "call", HITRATE (69), 0)
 
 /* Branch causing function to terminate is probably not taken.  */
-DEF_PREDICTOR (PRED_TREE_EARLY_RETURN, "early return (on trees)", HITRATE (45), 0)
+DEF_PREDICTOR (PRED_TREE_EARLY_RETURN, "early return (on trees)", HITRATE (54), 0)
 
 /* Branch containing goto is probably not taken.  */
 DEF_PREDICTOR (PRED_GOTO, "goto", HITRATE (70), 0)
 
 /* Branch ending with return constant is probably not taken.  */
-DEF_PREDICTOR (PRED_CONST_RETURN, "const return", HITRATE (95), 0)
+DEF_PREDICTOR (PRED_CONST_RETURN, "const return", HITRATE (67), 0)
 
 /* Branch ending with return negative constant is probably not taken.  */
-DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (77), 0)
+DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (96), 0)
 
 /* Branch ending with return; is probably not taken */
 DEF_PREDICTOR (PRED_NULL_RETURN, "null return", HITRATE (96), 0)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-28 10:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 16:38 Update predict.def for the fixes Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).