re PR middle-end/77484 (Static branch predictor causes ~6-8% regression of SPEC2000...
authorJan Hubicka <hubicka@ucw.cz>
Sun, 1 Jan 2017 15:40:29 +0000 (16:40 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 1 Jan 2017 15:40:29 +0000 (15:40 +0000)
commit2c5123744bae39d080ca33d9463a517417ebafbe
tree475c65d4ed2a25b62b2d50aab21862505952302c
parentcbe34bb5edd97015e38c483516492f171bf9f95d
re PR middle-end/77484 (Static branch predictor causes ~6-8% regression of SPEC2000 GAP)

PR middle-end/77484
* predict.def (PRED_CALL): Update hitrate.
(PRED_INDIR_CALL, PRED_POLYMORPHIC_CALL): New predictors.
* predict.c (tree_estimate_probability_bb): Split CALL predictor
into direct/indirect/polymorphic variants.

From-SVN: r243995
gcc/ChangeLog
gcc/predict.c
gcc/predict.def