From d8dc87c24cf4883d3934d285a9bf1e5ca5384022 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 8 Jan 2017 10:53:06 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/predict.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9d710df5ab1..375b79a83c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-01 Jan Hubicka + + PR middle-end/77484 + * predict.def (PRED_INDIR_CALL): Set to 86. + 2017-01-07 Sandra Loosemore PR preprocessor/54124 diff --git a/gcc/predict.def b/gcc/predict.def index 5ddb36a0b2c..f3b17c7ecdd 100644 --- a/gcc/predict.def +++ b/gcc/predict.def @@ -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 -- 2.30.2