diff options
Diffstat (limited to 'gcc/config/bfin/bfin.c')
-rw-r--r-- | gcc/config/bfin/bfin.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 8fb50dadf54..6547f83d943 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -3348,8 +3348,8 @@ bfin_adjust_cost (rtx_insn *insn, rtx link, rtx_insn *dep_insn, int cost) /* This function acts like NEXT_INSN, but is aware of three-insn bundles and skips all subsequent parallel instructions if INSN is the start of such a group. */ -static rtx -find_next_insn_start (rtx insn) +static rtx_insn * +find_next_insn_start (rtx_insn *insn) { if (GET_MODE (insn) == SImode) { @@ -3362,8 +3362,8 @@ find_next_insn_start (rtx insn) /* This function acts like PREV_INSN, but is aware of three-insn bundles and skips all subsequent parallel instructions if INSN is the start of such a group. */ -static rtx -find_prev_insn_start (rtx insn) +static rtx_insn * +find_prev_insn_start (rtx_insn *insn) { insn = PREV_INSN (insn); gcc_assert (GET_MODE (insn) != SImode); @@ -3439,7 +3439,7 @@ static bool hwloop_optimize (hwloop_info loop) { basic_block bb; - rtx insn, last_insn; + rtx_insn *insn, *last_insn; rtx loop_init, start_label, end_label; rtx iter_reg, scratchreg, scratch_init, scratch_init_insn; rtx lc_reg, lt_reg, lb_reg; @@ -3614,7 +3614,7 @@ hwloop_optimize (hwloop_info loop) } else { - last_insn = NULL_RTX; + last_insn = NULL; break; } } @@ -3657,7 +3657,7 @@ hwloop_optimize (hwloop_info loop) last_insn = emit_insn_after (gen_forced_nop (), last_insn); } - loop->last_insn = safe_as_a <rtx_insn *> (last_insn); + loop->last_insn = last_insn; /* The loop is good for replacement. */ start_label = loop->start_label; @@ -3772,7 +3772,7 @@ hwloop_optimize (hwloop_info loop) if (loop->incoming_src) { - rtx prev = BB_END (loop->incoming_src); + rtx_insn *prev = BB_END (loop->incoming_src); if (vec_safe_length (loop->incoming) > 1 || !(loop->incoming->last ()->flags & EDGE_FALLTHRU)) { @@ -3909,7 +3909,7 @@ gen_one_bundle (rtx_insn *slot[3]) /* Verify that we really can do the multi-issue. */ if (slot[0]) { - rtx t = NEXT_INSN (slot[0]); + rtx_insn *t = NEXT_INSN (slot[0]); while (t != slot[1]) { if (! NOTE_P (t) || NOTE_KIND (t) != NOTE_INSN_DELETED) @@ -4230,7 +4230,7 @@ trapping_loads_p (rtx insn, int np_reg, bool after_np_branch) a three-insn bundle, see if one of them is a load and return that if so. Return NULL_RTX if the insn does not contain loads. */ static rtx -find_load (rtx insn) +find_load (rtx_insn *insn) { if (!NONDEBUG_INSN_P (insn)) return NULL_RTX; @@ -4285,7 +4285,7 @@ note_np_check_stores (rtx x, const_rtx pat ATTRIBUTE_UNUSED, static void workaround_speculation (void) { - rtx insn, next; + rtx_insn *insn, *next; rtx last_condjump = NULL_RTX; int cycles_since_jump = INT_MAX; int delay_added = 0; @@ -4449,9 +4449,9 @@ workaround_speculation (void) && (INSN_CODE (insn) == CODE_FOR_cbranch_predicted_taken || cbranch_predicted_taken_p (insn))) { - rtx target = JUMP_LABEL (insn); + rtx_insn *target = JUMP_LABEL_AS_INSN (insn); rtx label = target; - rtx next_tgt; + rtx_insn *next_tgt; cycles_since_jump = 0; for (; target && cycles_since_jump < 3; target = next_tgt) |