(output_function_{pro,epi}logue): Use lea instead of add.w when
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 10 Dec 1996 22:36:39 +0000 (17:36 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 10 Dec 1996 22:36:39 +0000 (17:36 -0500)
adjusting stack pointer on all but TARGET_68040.

From-SVN: r13266

gcc/config/m68k/m68k.c

index 7a8f98b0e8efca018ffbd71b965629548f882070..c671c5987e550f9227e19bde47370b68633e0325 100644 (file)
@@ -214,7 +214,7 @@ output_function_prologue (stream, size)
       /* Adding negative number is faster on the 68040.  */
       if (fsize + 4 < 0x8000)
        {
-         if (TARGET_5200)
+         if (!TARGET_68040)
            {
 #ifdef MOTOROLA
              asm_fprintf (stream, "\tlea (%d,%Rsp),%Rsp\n", - (fsize + 4));
@@ -642,7 +642,7 @@ output_function_epilogue (stream, size)
     {
       if (fsize + 4 < 0x8000)
        {
-         if (TARGET_5200)
+         if (!TARGET_68040)
            { 
 #ifdef MOTOROLA
              asm_fprintf (stream, "\tlea (%d,%Rsp),%Rsp\n", fsize + 4);