diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-10-12 20:48:59 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-10-12 18:48:59 +0000 |
commit | 83d502cf40077b7115c8e6342218186223a42474 (patch) | |
tree | af470e3cd4226d18bee47f5dc8c2f23cb9ac0e07 /gcc/tree-data-ref.h | |
parent | 8b48488fbe122c3fa56be84fd048846207466eb0 (diff) | |
download | gcc-83d502cf40077b7115c8e6342218186223a42474.zip gcc-83d502cf40077b7115c8e6342218186223a42474.tar.gz gcc-83d502cf40077b7115c8e6342218186223a42474.tar.bz2 |
profile-count.c (safe_scale_64bit): Fix GCC4.x path.
* profile-count.c (safe_scale_64bit): Fix GCC4.x path.
(profile_probability): Set max_probability
to (uint32_t) 1 << (n_bits - 2) and update accessors to avoid overlfows
in temporaries.
* profile-count.c (profile_probability::differs_from_p): Do not
rely on max_probaiblity == 10000
* gcc.dg/predict-13.c: Update template for probaility change.
* gcc.dg/predict-8.c: Likewise.
From-SVN: r253692
Diffstat (limited to 'gcc/tree-data-ref.h')
0 files changed, 0 insertions, 0 deletions