+2014-08-25 David Malcolm <dmalcolm@redhat.com>
+
+ * config/m68k/m68k-protos.h (output_btst): Strengthen param 4 from
+ rtx to rtx_insn *.
+ (strict_low_part_peephole_ok): Likewise for param 2 "first_insn".
+ (m68k_final_prescan_insn): Likewise for first param.
+
+ * config/m68k/m68k.c (m68k_emit_movem): Likewise for return type.
+ (m68k_set_frame_related): Likewise for param "insn".
+ (output_btst): Likewise for param "insn".
+ (m68k_final_prescan_insn): Likewise.
+ (m68k_move_to_reg): Likewise for local "insn".
+ (m68k_call_tls_get_addr): Likewise for local "insns".
+ (m68k_call_m68k_read_tp): Likewise.
+ (strict_low_part_peephole_ok): Likewise for param "first_insn".
+ (m68k_output_mi_thunk): Likewise for local "insn".
+
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* config/iq2000/iq2000-protos.h (final_prescan_insn): Strengthen
extern const char *output_move_double (rtx *);
extern const char *output_move_const_single (rtx *);
extern const char *output_move_const_double (rtx *);
-extern const char *output_btst (rtx *, rtx, rtx, rtx, int);
+extern const char *output_btst (rtx *, rtx, rtx, rtx_insn *, int);
extern const char *output_scc_di (rtx, rtx, rtx, rtx);
extern const char *output_addsi3 (rtx *);
extern const char *output_andsi3 (rtx *);
extern const char *output_sibcall (rtx);
extern void output_dbcc_and_branch (rtx *);
extern int floating_exact_log2 (rtx);
-extern bool strict_low_part_peephole_ok (enum machine_mode mode, rtx first_insn, rtx target);
+extern bool strict_low_part_peephole_ok (enum machine_mode mode,
+ rtx_insn *first_insn, rtx target);
/* Functions from m68k.c used in macros. */
extern int standard_68881_constant_p (rtx);
extern int emit_move_sequence (rtx *, enum machine_mode, rtx);
extern bool m68k_movem_pattern_p (rtx, rtx, HOST_WIDE_INT, bool);
extern const char *m68k_output_movem (rtx *, rtx, HOST_WIDE_INT, bool);
-extern void m68k_final_prescan_insn (rtx, rtx *, int);
+extern void m68k_final_prescan_insn (rtx_insn *, rtx *, int);
extern bool m68k_epilogue_uses (int);
/* Functions from m68k.c used in constraints.md. */
whether or not this is pre-decrement (if STORE_P) or post-increment
(if !STORE_P) operation. */
-static rtx
+static rtx_insn *
m68k_emit_movem (rtx base, HOST_WIDE_INT offset,
unsigned int count, unsigned int regno,
unsigned int mask, bool store_p, bool adjust_stack_p)
/* Make INSN a frame-related instruction. */
static void
-m68k_set_frame_related (rtx insn)
+m68k_set_frame_related (rtx_insn *insn)
{
rtx body;
int i;
}
const char *
-output_btst (rtx *operands, rtx countop, rtx dataop, rtx insn, int signpos)
+output_btst (rtx *operands, rtx countop, rtx dataop, rtx_insn *insn, int signpos)
{
operands[0] = countop;
operands[1] = dataop;
/* Prescan insn before outputing assembler for it. */
void
-m68k_final_prescan_insn (rtx insn ATTRIBUTE_UNUSED,
+m68k_final_prescan_insn (rtx_insn *insn ATTRIBUTE_UNUSED,
rtx *operands, int n_operands)
{
int i;
static rtx
m68k_move_to_reg (rtx x, rtx orig, rtx reg)
{
- rtx insn;
+ rtx_insn *insn;
if (reg == NULL_RTX)
{
m68k_call_tls_get_addr (rtx x, rtx eqv, enum m68k_reloc reloc)
{
rtx a0;
- rtx insns;
+ rtx_insn *insns;
rtx dest;
/* Emit the call sequence. */
{
rtx a0;
rtx eqv;
- rtx insns;
+ rtx_insn *insns;
rtx dest;
start_sequence ();
clear insn. */
bool
-strict_low_part_peephole_ok (enum machine_mode mode, rtx first_insn,
+strict_low_part_peephole_ok (enum machine_mode mode, rtx_insn *first_insn,
rtx target)
{
- rtx p = first_insn;
+ rtx_insn *p = first_insn;
while ((p = PREV_INSN (p)))
{
HOST_WIDE_INT delta, HOST_WIDE_INT vcall_offset,
tree function)
{
- rtx this_slot, offset, addr, mem, insn, tmp;
+ rtx this_slot, offset, addr, mem, tmp;
+ rtx_insn *insn;
/* Avoid clobbering the struct value reg by using the
static chain reg as a temporary. */