Commit dae3e97c by Jan Hubicka Committed by Jan Hubicka

profile-count.h (profile_probability::very_unlikely, [...]): Set precision to guessed.


	* profile-count.h (profile_probability::very_unlikely,
	profile_probability::unlikely, profile_probability::even): Set
	precision to guessed.

From-SVN: r256974
parent 950d1cd9
2018-01-23 Jan Hubicka <hubicka@ucw.cz>
* profile-count.h (profile_probability::very_unlikely,
profile_probability::unlikely, profile_probability::even): Set
precision to guessed.
2018-01-23 Richard Biener <rguenther@suse.de> 2018-01-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/83963 PR tree-optimization/83963
......
...@@ -164,7 +164,7 @@ public: ...@@ -164,7 +164,7 @@ public:
{ {
/* Be consistent with PROB_VERY_UNLIKELY in predict.h. */ /* Be consistent with PROB_VERY_UNLIKELY in predict.h. */
profile_probability r profile_probability r
= profile_probability::always ().apply_scale (1, 2000); = profile_probability::guessed_always ().apply_scale (1, 2000);
r.m_val--; r.m_val--;
return r; return r;
} }
...@@ -172,13 +172,13 @@ public: ...@@ -172,13 +172,13 @@ public:
{ {
/* Be consistent with PROB_VERY_LIKELY in predict.h. */ /* Be consistent with PROB_VERY_LIKELY in predict.h. */
profile_probability r profile_probability r
= profile_probability::always ().apply_scale (1, 5); = profile_probability::guessed_always ().apply_scale (1, 5);
r.m_val--; r.m_val--;
return r; return r;
} }
static profile_probability even () static profile_probability even ()
{ {
return profile_probability::always ().apply_scale (1, 2); return profile_probability::guessed_always ().apply_scale (1, 2);
} }
static profile_probability very_likely () static profile_probability very_likely ()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment