+2014-08-25 David Malcolm <dmalcolm@redhat.com>
+
+ * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
+ first param from rtx to rtx_insn *.
+ * config/xtensa/xtensa.c (struct machine_function): Likewise for
+ field "set_frame_ptr_insn".
+ (xtensa_expand_compare_and_swap): Strengthen locals "csloop" and
+ "csend" from rtx to rtx_code_label *.
+ (xtensa_expand_atomic): Likewise for local "csloop".
+ (xtensa_emit_loop_end): Strengthen param "insn" from rtx to
+ rtx_insn *.
+ (xtensa_call_tls_desc): Likewise for return type and locals
+ "call_insn", "insns".
+ (xtensa_legitimize_tls_address): Likewise for local "insns".
+ (xtensa_expand_prologue): Likewise for locals "insn", "first".
+
2014-08-25 David Malcolm <dmalcolm@redhat.com>
* config/v850/v850-protos.h (v850_adjust_insn_length): Strengthen
extern void xtensa_expand_nonlocal_goto (rtx *);
extern void xtensa_expand_compare_and_swap (rtx, rtx, rtx, rtx);
extern void xtensa_expand_atomic (enum rtx_code, rtx, rtx, rtx, bool);
-extern void xtensa_emit_loop_end (rtx, rtx *);
+extern void xtensa_emit_loop_end (rtx_insn *, rtx *);
extern char *xtensa_emit_branch (bool, bool, rtx *);
extern char *xtensa_emit_bit_branch (bool, bool, rtx *);
extern char *xtensa_emit_movcc (bool, bool, bool, rtx *);
bool need_a7_copy;
bool vararg_a7;
rtx vararg_a7_copy;
- rtx set_frame_ptr_insn;
+ rtx_insn *set_frame_ptr_insn;
};
/* Vector, indexed by hard register number, which contains 1 for a
rtx tmp, cmpv, newv, val;
rtx oldval = gen_reg_rtx (SImode);
rtx res = gen_reg_rtx (SImode);
- rtx csloop = gen_label_rtx ();
- rtx csend = gen_label_rtx ();
+ rtx_code_label *csloop = gen_label_rtx ();
+ rtx_code_label *csend = gen_label_rtx ();
init_alignment_context (&ac, mem);
{
enum machine_mode mode = GET_MODE (mem);
struct alignment_context ac;
- rtx csloop = gen_label_rtx ();
+ rtx_code_label *csloop = gen_label_rtx ();
rtx cmp, tmp;
rtx old = gen_reg_rtx (SImode);
rtx new_rtx = gen_reg_rtx (SImode);
when the branch is taken. */
void
-xtensa_emit_loop_end (rtx insn, rtx *operands)
+xtensa_emit_loop_end (rtx_insn *insn, rtx *operands)
{
char done = 0;
}
-static rtx
+static rtx_insn *
xtensa_call_tls_desc (rtx sym, rtx *retp)
{
- rtx fn, arg, a10, call_insn, insns;
+ rtx fn, arg, a10;
+ rtx_insn *call_insn, *insns;
start_sequence ();
fn = gen_reg_rtx (Pmode);
xtensa_legitimize_tls_address (rtx x)
{
unsigned int model = SYMBOL_REF_TLS_MODEL (x);
- rtx dest, tp, ret, modbase, base, addend, insns;
+ rtx dest, tp, ret, modbase, base, addend;
+ rtx_insn *insns;
dest = gen_reg_rtx (Pmode);
switch (model)
{
HOST_WIDE_INT total_size;
rtx size_rtx;
- rtx insn, note_rtx;
+ rtx_insn *insn;
+ rtx note_rtx;
total_size = compute_frame_size (get_frame_size ());
size_rtx = GEN_INT (total_size);
{
if (cfun->machine->set_frame_ptr_insn)
{
- rtx first;
+ rtx_insn *first;
push_topmost_sequence ();
first = get_insns ();