diff options
Diffstat (limited to 'gcc/config/c6x/c6x.c')
-rw-r--r-- | gcc/config/c6x/c6x.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gcc/config/c6x/c6x.c b/gcc/config/c6x/c6x.c index cd7c1bb..df6cb78 100644 --- a/gcc/config/c6x/c6x.c +++ b/gcc/config/c6x/c6x.c @@ -4807,10 +4807,10 @@ convert_to_callp (rtx_insn *insn) /* Scan forwards from INSN until we find the next insn that has mode TImode (indicating it starts a new cycle), and occurs in cycle CLOCK. Return it if we find such an insn, NULL_RTX otherwise. */ -static rtx -find_next_cycle_insn (rtx insn, int clock) +static rtx_insn * +find_next_cycle_insn (rtx_insn *insn, int clock) { - rtx t = insn; + rtx_insn *t = insn; if (GET_MODE (t) == TImode) t = next_real_insn (t); while (t && GET_MODE (t) != TImode) @@ -4818,7 +4818,7 @@ find_next_cycle_insn (rtx insn, int clock) if (t && insn_get_clock (t) == clock) return t; - return NULL_RTX; + return NULL; } /* If COND_INSN has a COND_EXEC condition, wrap the same condition @@ -4836,10 +4836,10 @@ duplicate_cond (rtx pat, rtx cond_insn) /* Walk forward from INSN to find the last insn that issues in the same clock cycle. */ -static rtx -find_last_same_clock (rtx insn) +static rtx_insn * +find_last_same_clock (rtx_insn *insn) { - rtx retval = insn; + rtx_insn *retval = insn; rtx_insn *t = next_real_insn (insn); while (t && GET_MODE (t) != TImode) @@ -4935,12 +4935,11 @@ reorg_split_calls (rtx *call_labels) no insn setting/using B3 is scheduled in the delay slots of a call. */ int this_clock = insn_get_clock (insn); - rtx last_same_clock; - rtx after1; + rtx_insn *after1; call_labels[INSN_UID (insn)] = label; - last_same_clock = find_last_same_clock (insn); + rtx_insn *last_same_clock = find_last_same_clock (insn); if (can_use_callp (insn)) { |