This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]