Re: Add quality tracking for profile counter

2017-06-22 Thread Jan Hubicka
Hi, I proofread the code and noticed that in some cases I may trigger division by 0 that may get different outputs depending on optimization setting on Itanium. This is what I comitted after profiledbootstrap and regtesting at x86_64. * profile-count.h (apply_probability,

Re: Add quality tracking for profile counter

2017-06-21 Thread Andreas Schwab
On Jun 19 2017, Jan Hubicka wrote: > this patch makes us to track quality of the profile. This is useful > to disable some agressive optimizations when counts are known to be > unreliable. This breaks bootstrap on ia64 with a comparison failure in value-prof.o. The only

Add quality tracking for profile counter

2017-06-19 Thread Jan Hubicka
Hi, this patch makes us to track quality of the profile. This is useful to disable some agressive optimizations when counts are known to be unreliable. Bootstrapped/regtested x86_64-linux, Honza * profile-count.c (profile_count::dump): Dump quality.