(CONST_COSTS): Reflect the change in m68k.md.

From-SVN: r6903
This commit is contained in:
Richard Kenner 1994-03-25 17:52:34 -05:00
parent 5bf136183f
commit 25a1b9189d

View File

@ -1,5 +1,6 @@
/* Definitions of target machine for GNU compiler. Sun 68000/68020 version. /* 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. This file is part of GNU CC.
@ -1355,10 +1356,10 @@ __transfer_from_trampoline () \
if (RTX == const0_rtx) return 0; \ if (RTX == const0_rtx) return 0; \
/* Constants between -128 and 127 are cheap due to moveq */ \ /* Constants between -128 and 127 are cheap due to moveq */ \
if (INTVAL (RTX) >= -128 && INTVAL (RTX) <= 127) return 1; \ if (INTVAL (RTX) >= -128 && INTVAL (RTX) <= 127) return 1; \
/* Constants between -136 and 254 are easily generated */ \ /* Constants between -256 and 255 are easily generated */ \
/* by intelligent uses of moveq, add[q], and subq */ \ /* by use of moveq and not.b */ \
if ((OUTER_CODE) == SET && INTVAL (RTX) >= -136 \ if ((OUTER_CODE) == SET && INTVAL (RTX) >= -256 \
&& INTVAL (RTX) <= 254) return 2; \ && INTVAL (RTX) < 256) return 2; \
case CONST: \ case CONST: \
case LABEL_REF: \ case LABEL_REF: \
case SYMBOL_REF: \ case SYMBOL_REF: \