OSDN Git Service

* config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2004 02:03:50 +0000 (02:03 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Oct 2004 02:03:50 +0000 (02:03 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89519 138bc75d-0d04-0410-961f-82ee72b054a4

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

index de7731f..0471e00 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 7f49979..cb51b82 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"