Commit 02892e06 by Jim Wilson

Add new parameter to move_block_from_reg calls.

From-SVN: r5018
parent f4ef129a
......@@ -877,7 +877,7 @@ extern struct rtx_def *a29k_get_reloaded_address ();
move_block_from_reg \
(R_AR (0) + first_reg_offset, \
gen_rtx (MEM, BLKmode, virtual_incoming_args_rtx), \
16 - first_reg_offset); \
16 - first_reg_offset, (16 - first_reg_offset) * UNITS_PER_WORD); \
PRETEND_SIZE = (16 - first_reg_offset) * UNITS_PER_WORD; \
} \
}
......
......@@ -806,13 +806,13 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS,
gen_rtx (MEM, BLKmode, \
plus_constant (virtual_incoming_args_rtx, \
((CUM) + 6)* UNITS_PER_WORD)), \
6 - (CUM)); \
6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD); \
move_block_from_reg \
(16 + 32 + CUM, \
gen_rtx (MEM, BLKmode, \
plus_constant (virtual_incoming_args_rtx, \
(CUM) * UNITS_PER_WORD)), \
6 - (CUM)); \
6 - (CUM), (6 - (CUM)) * UNITS_PER_WORD); \
} \
PRETEND_SIZE = 12 * UNITS_PER_WORD; \
} \
......
......@@ -2201,7 +2201,8 @@ i960_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
move_block_from_reg
(first_reg_offset,
gen_rtx (MEM, BLKmode, virtual_incoming_args_rtx),
NPARM_REGS - first_reg_offset);
NPARM_REGS - first_reg_offset,
(NPARM_REGS - first_reg_offset) * UNITS_PER_WORD);
}
*pretend_size = (NPARM_REGS - first_reg_offset) * UNITS_PER_WORD;
}
......
......@@ -2555,7 +2555,7 @@ m88k_builtin_saveregs (arglist)
change_address (addr, Pmode,
plus_constant (XEXP (addr, 0),
fixed * UNITS_PER_WORD)),
8 - fixed);
8 - fixed, (8 - fixed) * UNITS_PER_WORD);
/* Return the address of the va_list constructor, but don't put it in a
register. This fails when not optimizing and produces worse code when
......
......@@ -3252,7 +3252,7 @@ hppa_builtin_saveregs (arglist)
gen_rtx (MEM, BLKmode,
plus_constant
(current_function_internal_arg_pointer, -16)),
4);
4, 4 * UNITS_PER_WORD);
return copy_to_reg (expand_binop (Pmode, add_optab,
current_function_internal_arg_pointer,
offset, 0, 0, OPTAB_LIB_WIDEN));
......
......@@ -687,7 +687,7 @@ struct rt_cargs {int gregs, fregs; };
gen_rtx (MEM, BLKmode, \
plus_constant (virtual_incoming_args_rtx, \
first_reg_offset * 4)), \
4 - first_reg_offset); \
4 - first_reg_offset, (4 - first_reg_offset) * UNITS_PER_WORD); \
PRETEND_SIZE = (4 - first_reg_offset) * UNITS_PER_WORD; \
} \
}
......
......@@ -799,7 +799,7 @@ struct rs6000_args {int words, fregno, nargs_prototype; };
gen_rtx (MEM, BLKmode, \
plus_constant (virtual_incoming_args_rtx, \
first_reg_offset * 4)), \
8 - first_reg_offset); \
8 - first_reg_offset, (8 - first_reg_offset) * UNITS_PER_WORD); \
PRETEND_SIZE = (8 - first_reg_offset) * UNITS_PER_WORD; \
} \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment