aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-05-19 18:00:46 -0700
committerJim Wilson <wilson@gcc.gnu.org>1997-05-19 18:00:46 -0700
commit6d808a73ece60a40ca45a2ba22dc5ce7b85623ec (patch)
treee64d1a2d29acc6440058c8e991a9d9469db198b8 /gcc
parentab9eef419eb4d180c1155e591f51fe81fb7960b8 (diff)
downloadgcc-6d808a73ece60a40ca45a2ba22dc5ce7b85623ec.zip
gcc-6d808a73ece60a40ca45a2ba22dc5ce7b85623ec.tar.gz
gcc-6d808a73ece60a40ca45a2ba22dc5ce7b85623ec.tar.bz2
(PUSH_ROUNDING): Add coldfire support.
From-SVN: r14104
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/m68k.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index 70daa32..f8df97e 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -836,8 +836,9 @@ extern enum reg_class regno_reg_class[];
/* If we generate an insn to push BYTES bytes,
this says how many the stack pointer really advances by.
- On the 68000, sp@- in a byte insn really pushes a word. */
-#define PUSH_ROUNDING(BYTES) (((BYTES) + 1) & ~1)
+ On the 68000, sp@- in a byte insn really pushes a word.
+ On the 5200 (coldfire), sp@- in a byte insn pushes just a byte. */
+#define PUSH_ROUNDING(BYTES) (TARGET_5200 ? BYTES : ((BYTES) + 1) & ~1)
/* Offset of first parameter from the argument pointer register value. */
#define FIRST_PARM_OFFSET(FNDECL) 8