]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/rs6000/rs6000.c
rs6000.c (function_arg_boundary): Always align AltiVec vectors.
authorAlan Modra <amodra@bigpond.net.au>
Mon, 10 May 2004 14:26:50 +0000 (14:26 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 10 May 2004 14:26:50 +0000 (23:56 +0930)
commitb2d04ecff8d793aab12249005576f4b36bc263df
treeb91c0a516954519112bdd143f83a329712f73857
parentb6685939515a82257ce895032e981c34b3b71b39
rs6000.c (function_arg_boundary): Always align AltiVec vectors.

* config/rs6000/rs6000.c (function_arg_boundary): Always align
AltiVec vectors.
(function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec
vectors by refererence.  Align the same for TARGET_64BIT to a 16
byte boundary.  Remove useless code.  Add function comment.
(function_arg): Similarly.  Move gpr rs6000_mixed_function_arg
call to where it belongs.
(function_arg_partial_nregs): Return true for all TARGET_32BIT
-mabi=no-altivec AltiVec vectors.  Fix debug output.
(rs6000_va_arg): Adjust for AltiVec change.

From-SVN: r81666
gcc/ChangeLog
gcc/config/rs6000/rs6000.c