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 predictor reorganization


On Sat, Jun 09, 2001 at 11:15:55PM +0200, Jan Hubicka wrote:
> 	* predict.def: New file.
> 	* predict.h: New file.
> 	* predict.c: Include predict.h.
> 	(predictor_info): New structure and array.
> 	(predict_edge, predict_insn): Rewrite; make global.
> 	(predict_edge_def, predict_insn_def): New global functions.
> 	(dump_prediction, combine_predictions_for_insns): New
> 	static functions.
> 	(estimate_probability): Change calls to predict_edge
> 	to predict_edge_def and calls to predict_insn to predict_insn_def;
> 	combine probabilities.
> 	(expected_value_to_br_prob): Behave as predictor.
> 	* rtl.h (REG_BR_PRED): Update coment.
> 	(invert_br_probabilities): New.
> 	* jump.c: Include predict.h
> 	(duplicate_loop_exit_test): Drop branch prediction notes.
> 	(invert_jump): Use invert_br_probabilities.
> 	* Makefile.in: Add dependancy on predict.h for jump and predict pass.
> 	* ifcvt.c (dead_or_predicable): Use invert_br_probabilities.

Ok.

Consistant typos:  s/heruistic/heuristic/g


r~


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