aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-03-25 17:52:34 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-03-25 17:52:34 -0500
commit25a1b9189d2714b4c76dfd62c8261770a32811c4 (patch)
tree968a43e000a23717d8961ecbe00f91d6f80d7ca2 /gcc
parent5bf136183fbfdb7ee77b9a825308c075826832bf (diff)
downloadgcc-25a1b9189d2714b4c76dfd62c8261770a32811c4.zip
gcc-25a1b9189d2714b4c76dfd62c8261770a32811c4.tar.gz
gcc-25a1b9189d2714b4c76dfd62c8261770a32811c4.tar.bz2
(CONST_COSTS): Reflect the change in m68k.md.
From-SVN: r6903
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/m68k.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index b5e3375..9a64ba5 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -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: \