]> gcc.gnu.org Git - gcc.git/commitdiff
(PUSH_ROUNDING): Add coldfire support.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 20 May 1997 01:00:46 +0000 (18:00 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 20 May 1997 01:00:46 +0000 (18:00 -0700)
From-SVN: r14104

gcc/config/m68k/m68k.h

index 70daa320bb14e2163770f64d6ed61bb72868cb0e..f8df97e80d356db4ad95766a120c6001c4592409 100644 (file)
@@ -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
This page took 0.063241 seconds and 5 git commands to generate.