aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1993-07-28 10:21:14 -0700
committerJim Wilson <wilson@gcc.gnu.org>1993-07-28 10:21:14 -0700
commit02892e06947cb46281f67b48eb7da56a86f6b9d9 (patch)
tree9ba2cf064e3373dcfe2ed3bc6aa3d09614cb3dd7 /gcc
parentf4ef129aeac1f20073bc3023deb6de774f5f23df (diff)
downloadgcc-02892e06947cb46281f67b48eb7da56a86f6b9d9.zip
gcc-02892e06947cb46281f67b48eb7da56a86f6b9d9.tar.gz
gcc-02892e06947cb46281f67b48eb7da56a86f6b9d9.tar.bz2
Add new parameter to move_block_from_reg calls.
From-SVN: r5018
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/a29k/a29k.h2
-rw-r--r--gcc/config/alpha/alpha.h4
-rw-r--r--gcc/config/i960/i960.c3
-rw-r--r--gcc/config/m88k/m88k.c2
-rw-r--r--gcc/config/pa/pa.c2
-rw-r--r--gcc/config/romp/romp.h2
-rw-r--r--gcc/config/rs6000/rs6000.h2
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; \
} \
}