Avoid add.w and sub.w if TARGET_5200
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jul 1996 19:56:44 +0000 (19:56 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 19 Jul 1996 19:56:44 +0000 (19:56 +0000)
From-SVN: r12532

gcc/config/m68k/m68k.c

index 2e524798ad956bf1612520718147f87f3bd45de1..11d3dda12c512e3fbce3d14fc01c113d98dc2bb3 100644 (file)
@@ -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