]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(CONST_COSTS): Reflect the change in m68k.md.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 25 Mar 1994 22:52:34 +0000 (17:52 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 25 Mar 1994 22:52:34 +0000 (17:52 -0500)
From-SVN: r6903

gcc/config/m68k/m68k.h

index b5e33751fbf298ee9b373734a43193d5d99a65b1..9a64ba579e4d2a7f52da339ed276ad9ef8170e0c 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions of target machine for GNU compiler.  Sun 68000/68020 version.
-   Copyright (C) 1987, 1988, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1988, 1993, 1994 Free Software Foundation, Inc.
+
 
 This file is part of GNU CC.
 
@@ -1355,10 +1356,10 @@ __transfer_from_trampoline ()                                   \
     if (RTX == const0_rtx) return 0;                           \
     /* Constants between -128 and 127 are cheap due to moveq */ \
     if (INTVAL (RTX) >= -128 && INTVAL (RTX) <= 127) return 1; \
-    /* Constants between -136 and 254 are easily generated */  \
-    /* by intelligent uses of moveq, add[q], and subq     */   \
-    if ((OUTER_CODE) == SET && INTVAL (RTX) >= -136            \
-       && INTVAL (RTX) <= 254) return 2;                       \
+    /* Constants between -256 and 255 are easily generated */  \
+    /* by use of moveq and not.b                          */   \
+    if ((OUTER_CODE) == SET && INTVAL (RTX) >= -256            \
+       && INTVAL (RTX) < 256) return 2;                        \
   case CONST:                                                  \
   case LABEL_REF:                                              \
   case SYMBOL_REF:                                             \