profile-count.h (profile_probability::very_unlikely, [...]): Set precision to guessed.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 23 Jan 2018 09:50:01 +0000 (10:50 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 23 Jan 2018 09:50:01 +0000 (09:50 +0000)
* profile-count.h (profile_probability::very_unlikely,
profile_probability::unlikely, profile_probability::even): Set
precision to guessed.

From-SVN: r256974

gcc/ChangeLog
gcc/profile-count.h

index f3fb04f2be04e7c019ced6096ea63c94c5a0d820..4a29b02e488033e4379155946c0662bea3150c74 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        PR tree-optimization/83963
index db274f4c5afddcd336b47b398c2c0f1c15e2b2b0..69919eeeb6dacf0ce8f94a93c1e1787913ead1b1 100644 (file)
@@ -164,7 +164,7 @@ public:
     {
       /* Be consistent with PROB_VERY_UNLIKELY in predict.h.  */
       profile_probability r
-        = profile_probability::always ().apply_scale (1, 2000);
+        = profile_probability::guessed_always ().apply_scale (1, 2000);
       r.m_val--;
       return r;
     }
@@ -172,13 +172,13 @@ public:
     {
       /* Be consistent with PROB_VERY_LIKELY in predict.h.  */
       profile_probability r
-        = profile_probability::always ().apply_scale (1, 5);
+        = profile_probability::guessed_always ().apply_scale (1, 5);
       r.m_val--;
       return r;
     }
   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 ()
     {