rs6000.c (function_arg_advance): For 32-bit ELF ABI...
authorJanis Johnson <janis@gcc.gnu.org>
Tue, 24 Apr 2007 19:29:34 +0000 (19:29 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Tue, 24 Apr 2007 19:29:34 +0000 (19:29 +0000)
commit2d83f07035a5ca542ba42a858f39a94026b4f6ae
tree7eefd836e127548366c12356ea02af0f40754fc9
parentb883ab57fad6a9e6b0a2b40f3c512612bf3192ee
rs6000.c (function_arg_advance): For 32-bit ELF ABI...

* 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.

From-SVN: r124116
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]