This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The sreal constants in predict.c (real_zero, real_one, real_almost_one, real_br_prob_base, real_inv_br_prob_base, real_one_half and real_bb_freq_max) are currently initialized on every call to estimate_bb_frequencies. That's unnecessary (they're constant!) 2003-03-01 Richard Earnshaw <rearnsha at arm dot com> * predict.c (estimate_bb_frequencies): Initialize the sreal constants once per compilation.
Attachment:
predict-init.patch
Description: predict-init.patch
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |