diff options
author | Jan Hubicka <jh@suse.cz> | 2001-06-10 00:39:25 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2001-06-09 22:39:25 +0000 |
commit | 4db384c950ec85ca96e4bcaf7b00c36f2f6ccbd5 (patch) | |
tree | c28f4818b4bed04584e0f35d196aab217d30a449 /libjava | |
parent | 5bb8dd28b87e7894d3dd5e03eacb09b975bbf0ca (diff) | |
download | gcc-4db384c950ec85ca96e4bcaf7b00c36f2f6ccbd5.zip gcc-4db384c950ec85ca96e4bcaf7b00c36f2f6ccbd5.tar.gz gcc-4db384c950ec85ca96e4bcaf7b00c36f2f6ccbd5.tar.bz2 |
predict.def: New file.
* 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.
* combine.c (distribute_notes): Handle BR_PRED.
From-SVN: r43115
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions