aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@geoffk.org>2004-10-25 02:03:50 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-10-25 02:03:50 +0000
commitc8529ffa5b9b2b026aabda6d2e71e304b866d8a6 (patch)
treea1b6ba13661d8f5269518f1770920fdc4e2e2380 /gcc
parenta304f64e1687b22033f2008c3c530dee155a5c62 (diff)
downloadgcc-c8529ffa5b9b2b026aabda6d2e71e304b866d8a6.zip
gcc-c8529ffa5b9b2b026aabda6d2e71e304b866d8a6.tar.gz
gcc-c8529ffa5b9b2b026aabda6d2e71e304b866d8a6.tar.bz2
* config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
From-SVN: r89519
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/darwin.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index de7731f..0471e00 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index 7f49979..cb51b82 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -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"