aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1996-07-19 19:56:44 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1996-07-19 19:56:44 +0000
commit4431168e146b885ded7414c296c3afe5edc73862 (patch)
tree628c8a7d0a7776e12db12266ec3295171daebde5
parent80e4a749b716507097da976ad521a64828578792 (diff)
downloadgcc-4431168e146b885ded7414c296c3afe5edc73862.zip
gcc-4431168e146b885ded7414c296c3afe5edc73862.tar.gz
gcc-4431168e146b885ded7414c296c3afe5edc73862.tar.bz2
Avoid add.w and sub.w if TARGET_5200
From-SVN: r12532
-rw-r--r--gcc/config/m68k/m68k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 2e52479..11d3dda 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -146,7 +146,7 @@ output_function_prologue (stream, size)
else if (fsize)
{
/* Adding negative number is faster on the 68040. */
- if (fsize + 4 < 0x8000)
+ if (fsize + 4 < 0x8000 && ! TARGET_5200)
{
/* asm_fprintf() cannot handle %. */
#ifdef MOTOROLA
@@ -524,7 +524,7 @@ output_function_epilogue (stream, size)
reg_names[FRAME_POINTER_REGNUM]);
else if (fsize)
{
- if (fsize + 4 < 0x8000)
+ if (fsize + 4 < 0x8000 && ! TARGET_5200)
{
/* asm_fprintf() cannot handle %. */
#ifdef MOTOROLA