diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-06 21:35:10 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-06 21:35:10 +0000 |
commit | 201e502c0305b11186f301066bf41b22cbf804a2 (patch) | |
tree | f24f5b885de682f27f58ba375c4f5da0783159a3 /gcc/config/s390/s390-protos.h | |
parent | 61641cc01565617207f878ec22df4aa7ee965d3e (diff) | |
download | gcc-201e502c0305b11186f301066bf41b22cbf804a2.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73314 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/s390/s390-protos.h')
-rw-r--r-- | gcc/config/s390/s390-protos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/s390/s390-protos.h b/gcc/config/s390/s390-protos.h index cad75e0abd1..1ab6b0933f1 100644 --- a/gcc/config/s390/s390-protos.h +++ b/gcc/config/s390/s390-protos.h @@ -99,6 +99,7 @@ extern void s390_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int); #ifdef RTX_CODE extern rtx s390_function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int); +extern rtx s390_function_value (tree, enum machine_mode); extern void s390_va_start (tree, rtx); extern rtx s390_va_arg (tree, tree); #endif /* RTX_CODE */ |