s390-protos.h (s390_function_value): Declare.
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 6 Nov 2003 21:35:10 +0000 (21:35 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Thu, 6 Nov 2003 21:35:10 +0000 (21:35 +0000)
commit8c17530ef3d7a0e4db6706df5507ace7714ad56d
treef24f5b885de682f27f58ba375c4f5da0783159a3
parent2b04d015d61b0d5def8eccc1f3d08694968882fe
s390-protos.h (s390_function_value): Declare.

* config/s390/s390-protos.h (s390_function_value): Declare.
* config/s390/s390.c (TARGET_RETURN_IN_MEMORY): Define.
(s390_return_in_memory): New function.
(s390_function_value): New function.
(s390_function_arg_float): Return false for all arguments larger
than 8 bytes.
(s390_function_arg_pass_by_reference): Likewise.  Return true for
all vector arguments.
(s390_function_arg_integer): New function.
(s390_function_arg_advance): Call it.  Add sanity checks.
(s390_function_arg): Likewise.
* config/s390/s390.h (FUNCTION_VALUE): Call s390_function_value.
(LIBCALL_VALUE): Likewise.
(RET_REG): Remove.
(RETURN_IN_MEMORY): Remove.

From-SVN: r73314
gcc/ChangeLog
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/s390.h