mips.c (mips_va_arg): Fix fprv for the 32 bit eabi...

* config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
	eabi, and make sure queued POSTINCREMENT rtl is emitted at
	the right point.

From-SVN: r31422
This commit is contained in:
Clinton Popetz 2000-01-14 21:21:57 +00:00 committed by Clinton Popetz
parent 5e4f624424
commit f5c8ac96dc
2 changed files with 13 additions and 2 deletions

View File

@ -1,8 +1,14 @@
2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
* config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
eabi, and make sure queued POSTINCREMENT rtl is emitted at
the right point.
2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
* builtins.c (PAD_VARARGS_DOWN): Define.
(std_expand_builtin_va_arg): Use the above macro.
* config/mips/mips.c (PAD_VARARGS_DOWN): Define.
* config/mips/mips.h (PAD_VARARGS_DOWN): Define.
* tm.texi (Register Arguments): Document the above macro.
2000-01-14 Nick Clifton <nickc@cygnus.com>

View File

@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. MIPS version.
Copyright (C) 1989, 90-98, 1999 Free Software Foundation, Inc.
Copyright (C) 1989, 90-98, 1999, 2000 Free Software Foundation, Inc.
Contributed by A. Lichnewsky (lich@inria.inria.fr).
Changed by Michael Meissner (meissner@osf.org).
64 bit r4000 support by Ian Lance Taylor (ian@cygnus.com) and
@ -1438,6 +1438,11 @@ do { \
|| TREE_CODE (TYPE) == UNION_TYPE \
|| TREE_CODE (TYPE) == RECORD_TYPE)) ? BITS_PER_WORD : (ALIGN))
/* Force right-alignment for small varargs in 32 bit little_endian mode */
#define PAD_VARARGS_DOWN (TARGET_64BIT ? BYTES_BIG_ENDIAN : !BYTES_BIG_ENDIAN)
/* Define this macro if an argument declared as `char' or `short' in a
prototype should actually be passed as an `int'. In addition to
avoiding errors in certain cases of mismatch, it also makes for