Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
+ * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
+
* dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
frame pointer in the prologue.
Mark all register-parms as living through the call, putting these USE
insns in the CALL_INSN_FUNCTION_USAGE field. */
+#ifdef LOAD_ARGS_REVERSED
+ for (i = num_actuals - 1; i >= 0; i--)
+#else
for (i = 0; i < num_actuals; i++)
+#endif
{
rtx reg = args[i].reg;
int partial = args[i].partial;
the structure-value address. On many machines, no registers can be
used for this purpose since all function arguments are pushed on the
stack.
+
+@findex LOAD_ARGS_REVERSED
+@item LOAD_ARGS_REVERSED
+If defined, the order in which arguments are loaded into their
+respective argument registers is reversed so that the last
+argument is loaded first. This macro only effects arguments
+passed in registers.
+
@end table
@node Scalar Return