* config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
authorGeoffrey Keating <geoffk@geoffk.org>
Mon, 25 Oct 2004 02:03:50 +0000 (02:03 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 25 Oct 2004 02:03:50 +0000 (02:03 +0000)
From-SVN: r89519

gcc/ChangeLog
gcc/config/rs6000/darwin.h

index de7731f2e6edb7946ccd77ff53841ada622a6a1f..0471e0083d7959ddeb5138a82e8875130953bb09 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-24  Geoffrey Keating  <geoffk@geoffk.org>
+
+       * config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
+
 2004-10-25  Ben Elliston  <bje@au.ibm.com>
 
        * cfgcleanup.c (outgoing_edges_match): Fix typo in dump output.
index 7f499792bd3db3877759c03b36407f0bd732cc15..cb51b82de24b7fc9a07a41aaf97997d25a208a40 100644 (file)
@@ -352,6 +352,12 @@ do {                                                                       \
    ? MAX (MAX ((COMPUTED), (SPECIFIED)), 128)                                   \
    : MAX ((COMPUTED), (SPECIFIED)))
 
+/* Specify padding for the last element of a block move between
+   registers and memory.  FIRST is nonzero if this is the only
+   element.  */
+#define BLOCK_REG_PADDING(MODE, TYPE, FIRST) \
+  (!(FIRST) ? upward : FUNCTION_ARG_PADDING (MODE, TYPE))
+
 /* XXX: Darwin supports neither .quad, or .llong, but it also doesn't
    support 64 bit PowerPC either, so this just keeps things happy.  */
 #define DOUBLE_INT_ASM_OP "\t.quad\t"