OSDN Git Service

* config/rs6000/rs6000.c (function_arg_advance): For 32-bit ELF ABI,
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 19:29:34 +0000 (19:29 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Apr 2007 19:29:34 +0000 (19:29 +0000)
commitae11fff9492e65f8c7693df5273fbbc69fc19c6b
tree7eefd836e127548366c12356ea02af0f40754fc9
parentd9f9327b8c6432820044bc19bc99e02e9afec1da
* config/rs6000/rs6000.c (function_arg_advance): For 32-bit ELF ABI,
expand on the comment about _Decimal128 arguments and check the
integer result of the modulus operation; for 64-bit ELF ABI, ensure
that _Decimal128 argument uses even/odd register pair.
(function_arg): For 32-bit ELF ABI, expand on the comment about
_Decimal128 arguments and check the integer result of the modulus
operation; for 64-bit ELF ABI, ensure that _Decimal128 argument
uses even/odd register pair.
testsuite/
* gcc.target/powerpc/ppc32-abi-dfp-1.c: New test.
* gcc.target/powerpc/ppc64-abi-dfp-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124116 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/ppc32-abi-dfp-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/ppc64-abi-dfp-1.c [new file with mode: 0644]