This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253692 - in /trunk/gcc: ChangeLog profile-coun...
- From: hubicka at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 Oct 2017 18:49:00 -0000
- Subject: r253692 - in /trunk/gcc: ChangeLog profile-coun...
Author: hubicka
Date: Thu Oct 12 18:48:59 2017
New Revision: 253692
URL: https://gcc.gnu.org/viewcvs?rev=253692&root=gcc&view=rev
Log:
* 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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/profile-count.c
trunk/gcc/profile-count.h
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/ipa/inlinehint-4.c
trunk/gcc/testsuite/gcc.dg/predict-13.c
trunk/gcc/testsuite/gcc.dg/predict-8.c