From: Richard Kenner Date: Fri, 25 Mar 1994 22:52:34 +0000 (-0500) Subject: (CONST_COSTS): Reflect the change in m68k.md. X-Git-Tag: misc/cutover-egcs-0~7040 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25a1b9189d2714b4c76dfd62c8261770a32811c4;p=thirdparty%2Fgcc.git (CONST_COSTS): Reflect the change in m68k.md. From-SVN: r6903 --- diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index b5e33751fbf2..9a64ba579e4d 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: \