+2016-05-27 Jan Hubicka <hubicka@ucw.cz>
+
+ * predict.c (maybe_hot_frequency_p): Avoid division.
+
2016-05-28 Gerald Pfeifer <gerald@pfeifer.com>
* doc/install.texi: Use https for shop.fsf.org.
return false;
if (PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION) == 0)
return false;
- if (freq < (ENTRY_BLOCK_PTR_FOR_FN (fun)->frequency
- / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION)))
+ if (freq * PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION)
+ < ENTRY_BLOCK_PTR_FOR_FN (fun)->frequency)
return false;
return true;
}