Re: Increase precision of static profiles

2017-11-20 Thread Christophe Lyon
On 19 November 2017 at 11:01, Tom de Vries wrote: > On 11/17/2017 08:53 PM, Jan Hubicka wrote: >> >> Hi, >> this patch makes static profile to be in range 0...2^30 rather than >> 0...1. This is safe now as profile-counts are taking care of >> possible overflow when

Re: Increase precision of static profiles

2017-11-19 Thread Tom de Vries
On 11/17/2017 08:53 PM, Jan Hubicka wrote: Hi, this patch makes static profile to be in range 0...2^30 rather than 0...1. This is safe now as profile-counts are taking care of possible overflow when the profile ends up cummulating too high after inlining. MThere are two testcases that needs

Increase precision of static profiles

2017-11-17 Thread Jan Hubicka
Hi, this patch makes static profile to be in range 0...2^30 rather than 0...1. This is safe now as profile-counts are taking care of possible overflow when the profile ends up cummulating too high after inlining. MThere are two testcases that needs adusting. dump-2.c simply checks for