Hi,
this patch fixes hitrate of indirect call predictor according to Martin's
measurements.

Boostrapped/regtested x86_64-linux, comitted.
Honza

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

Index: predict.def
===================================================================
--- predict.def (revision 244206)
+++ predict.def (working copy)
@@ -121,7 +121,7 @@ DEF_PREDICTOR (PRED_CALL, "call", HITRAT
 /* 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

Reply via email to