From 02892e06947cb46281f67b48eb7da56a86f6b9d9 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Wed, 28 Jul 1993 10:21:14 -0700 Subject: [PATCH] Add new parameter to move_block_from_reg calls. From-SVN: r5018 --- gcc/config/a29k/a29k.h | 2 +- gcc/config/alpha/alpha.h | 4 ++-- gcc/config/i960/i960.c | 3 ++- gcc/config/m88k/m88k.c | 2 +- gcc/config/pa/pa.c | 2 +- gcc/config/romp/romp.h | 2 +- gcc/config/rs6000/rs6000.h | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index c6982ee..dbde5c6 100644 --- a/gcc/config/a29k/a29k.h +++ b/gcc/config/a29k/a29k.h @@ -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; \ } \ } diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 594b9ff..1e53616 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -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; \ } \ diff --git a/gcc/config/i960/i960.c b/gcc/config/i960/i960.c index 3a8ebed..6baeac3 100644 --- a/gcc/config/i960/i960.c +++ b/gcc/config/i960/i960.c @@ -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; } diff --git a/gcc/config/m88k/m88k.c b/gcc/config/m88k/m88k.c index 0611728..d5fe033 100644 --- a/gcc/config/m88k/m88k.c +++ b/gcc/config/m88k/m88k.c @@ -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 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 564b96c..19c2166 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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)); diff --git a/gcc/config/romp/romp.h b/gcc/config/romp/romp.h index c81a60d..be5047a 100644 --- a/gcc/config/romp/romp.h +++ b/gcc/config/romp/romp.h @@ -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; \ } \ } diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 2b45976..8f90eb1 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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; \ } \ } -- 2.7.4