OSDN Git Service

2005-07-14 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2005 07:46:23 +0000 (07:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Jul 2005 07:46:23 +0000 (07:46 +0000)
commit70e9546799274a3efa8e96e77dc681a62082bb9e
treee23fe4eb2d1a570d31a48f2d2648f10e107f2e10
parent46b3ff29296568882d5ec4f6796ae9a28879971b
2005-07-14  Richard Guenther  <rguenther@suse.de>

PR middle-end/22347
* config/i386/i386-protos.h (ix86_function_value): Change
prototype to match new target hook.
* config/i386/i386.c (ix86_value_regno): Change prototype
to take extra type argument.
(TARGET_FUNCTION_VALUE): Define.
(ix86_function_ok_for_sibcall): Pass extra argument to
ix86_value_regno, check return slot rtx for exact match.
(ix86_function_value): Take extra parameter.  Dispatch to
ix86_value_regno with fndecl/fntype as provided.
(ix86_value_regno): Handle extra type argument.
* config/i386/i386.h (FUNCTION_VALUE): No longer define.

* testsuite/gcc.target/i386/sseregparm-3.c: New testcase.
* testsuite/gcc.target/i386/sseregparm-4.c: New testcase.
* testsuite/gcc.target/i386/sseregparm-5.c: New testcase.
* testsuite/gcc.target/i386/sseregparm-6.c: New testcase.
* testsuite/gcc.target/i386/sseregparm-7.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102014 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/testsuite/gcc.target/i386/sseregparm-3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sseregparm-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sseregparm-5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sseregparm-6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/sseregparm-7.c [new file with mode: 0644]