Commit d676911f by DJ Delorie Committed by DJ Delorie

m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the way…

m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes, since that doesn't work the way gcc wants on a generic m68k.

* config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
since that doesn't work the way gcc wants on a generic m68k.

From-SVN: r40138
parent d448e3e9
2001-02-28 DJ Delorie <dj@redhat.com>
* config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
since that doesn't work the way gcc wants on a generic m68k.
2001-02-28 Richard Henderson <rth@redhat.com> 2001-02-28 Richard Henderson <rth@redhat.com>
* caller-save.c (save_call_clobbered_regs): Fix typo in * caller-save.c (save_call_clobbered_regs): Fix typo in
......
...@@ -921,6 +921,11 @@ extern enum reg_class regno_reg_class[]; ...@@ -921,6 +921,11 @@ extern enum reg_class regno_reg_class[];
On the 5200 (coldfire), sp@- in a byte insn pushes just a byte. */ On the 5200 (coldfire), sp@- in a byte insn pushes just a byte. */
#define PUSH_ROUNDING(BYTES) (TARGET_5200 ? BYTES : ((BYTES) + 1) & ~1) #define PUSH_ROUNDING(BYTES) (TARGET_5200 ? BYTES : ((BYTES) + 1) & ~1)
/* We want to avoid trying to push bytes. */
#define MOVE_BY_PIECES_P(SIZE, ALIGN) \
(move_by_pieces_ninsns (SIZE, ALIGN) < MOVE_RATIO \
&& (((SIZE) >=16 && (ALIGN) >= 16) || (TARGET_5200)))
/* Offset of first parameter from the argument pointer register value. */ /* Offset of first parameter from the argument pointer register value. */
#define FIRST_PARM_OFFSET(FNDECL) 8 #define FIRST_PARM_OFFSET(FNDECL) 8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment