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]

Re: Branch prediction heuristics combining code


On Fri, Jul 27, 2001 at 03:55:44PM +0200, Jan Hubicka wrote:
> Due to bugs in my analyze_brprob script the results are not ready yet.
> 
> Can I take maitenance over that file and allways put in the proper values
> when something important changes?

Yes.

> 	* predict.c (DEF_PREDICTOR): New argument FLAGS.
> 	(HITRATE): New macro.
> 	(PRED_FLAG_FIRST_MATCH): New constant.
> 	(predictor_info): New field flgags.
> 	(combine_predictions_for_insn): Use DS theory to combine
> 	probabilities; set the edge probabilities when finished.
> 	(estimate_probability): Avoid duplicated matches
> 	of LOOP_BRANCH heuristics for nested loops; update comment.
> 	* predict.def: Add flags for each prediction, set probabilities
> 	according to B&L paper.
> 	* predict.h (DEF_PREDICTOR): New argument FLAGS.

Ok.

Properly capitalize "Demster-Sharter" throughout.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]