diff options
author | Martin Liska <mliska@suse.cz> | 2018-12-31 14:46:08 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-12-31 13:46:08 +0000 |
commit | b3282dfe1a1601accd3bd012898c2bc807e0d078 (patch) | |
tree | f6a353dcdd9481af9384378d339ef833ae34ac6d /intl | |
parent | 41ee4e75ab27ebf63d1512fc56e673fdee74e8aa (diff) | |
download | gcc-b3282dfe1a1601accd3bd012898c2bc807e0d078.zip gcc-b3282dfe1a1601accd3bd012898c2bc807e0d078.tar.gz gcc-b3282dfe1a1601accd3bd012898c2bc807e0d078.tar.bz2 |
predict.c (set_even_probabilities): Include also unlikely_count in calculation.
).
2018-12-31 Martin Liska <mliska@suse.cz>
* predict.c (set_even_probabilities): Include also
unlikely_count in calculation.
(combine_predictions_for_bb): Consider also HOT and
COLD labels predictions.
* predict.def (PRED_HOT_LABEL): Move it just after
__builtin_expect_with_probability predictor.
(PRED_COLD_LABEL): Likewise.
2018-12-31 Martin Liska <mliska@suse.cz>
* g++.dg/predict-2.C: New test.
* g++.dg/predict-3.C: New test.
* g++.dg/predict-4.C: New test.
* gcc.dg/tree-ssa/attr-hotcold-2.c: Adjust test-case.
From-SVN: r267485
Diffstat (limited to 'intl')
0 files changed, 0 insertions, 0 deletions