diff options
Diffstat (limited to 'gcc/reorg.c')
-rwxr-xr-x | gcc/reorg.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index f9b2cc2..36e4b66 100755 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -906,26 +906,6 @@ mostly_true_jump (jump_insn, condition) return -1; /* END CYGNUS LOCAL -- branch prediction */ - /* If branch probabilities are available, then use that number since it - always gives a correct answer. */ - if (flag_branch_probabilities) - { - rtx note = find_reg_note (jump_insn, REG_BR_PROB, 0); - if (note) - { - int prob = XINT (note, 0); - - if (prob >= REG_BR_PROB_BASE * 9 / 10) - return 2; - else if (prob >= REG_BR_PROB_BASE / 2) - return 1; - else if (prob >= REG_BR_PROB_BASE / 10) - return 0; - else - return -1; - } - } - /* If this is a branch outside a loop, it is highly unlikely. */ if (GET_CODE (PATTERN (jump_insn)) == SET && GET_CODE (SET_SRC (PATTERN (jump_insn))) == IF_THEN_ELSE |