arguments to 64-bit boundaries on 64-bit ABIs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49356
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-01-30 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
+ arguments to 64-bit boundaries on 64-bit ABIs.
+
2002-01-30 Steve Ellcey <sje@cup.hp.com>
* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
#define POINTER_BOUNDARY (Pmode == DImode ? 64 : 32)
/* Allocation boundary (in *bits*) for storing arguments in argument list. */
-#define PARM_BOUNDARY (TARGET_64BIT ? 64 : 32)
+#define PARM_BOUNDARY ((mips_abi == ABI_O64 || mips_abi == ABI_N32 \
+ || mips_abi == ABI_64 \
+ || (mips_abi == ABI_EABI && TARGET_64BIT)) ? 64 : 32)
/* Allocation boundary (in *bits*) for the code of a function. */
#define FUNCTION_BOUNDARY 32