re PR middle-end/77484 (Static branch predictor causes ~6-8% regression of SPEC2000 GAP)

PR middle-end/77484
	* predict.def (PRED_INDIR_CALL): Set to 86.

From-SVN: r244207
This commit is contained in:
Jan Hubicka 2017-01-08 10:53:06 +01:00 committed by Jan Hubicka
parent 38285dd719
commit d8dc87c24c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-01-01 Jan Hubicka <hubicka@ucw.cz>
PR middle-end/77484
* predict.def (PRED_INDIR_CALL): Set to 86.
2017-01-07 Sandra Loosemore <sandra@codesourcery.com>
PR preprocessor/54124

View File

@ -121,7 +121,7 @@ DEF_PREDICTOR (PRED_CALL, "call", HITRATE (55), 0)
/* PRED_CALL is not very reliable predictor and it turns out to be even
less reliable for indirect calls and polymorphic calls. For spec2k6
the predictio nis slightly in the direction of taking the call. */
DEF_PREDICTOR (PRED_INDIR_CALL, "indirect call", HITRATE (51), 0)
DEF_PREDICTOR (PRED_INDIR_CALL, "indirect call", HITRATE (86), 0)
DEF_PREDICTOR (PRED_POLYMORPHIC_CALL, "polymorphic call", HITRATE (59), 0)
/* Recursive calls are usually not taken or the function will recurse