This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Thinko patch


FYI, I just installed this thinko patch:

Tue Sep 15 19:31:58 1998  Michael Meissner  <meissner@cygnus.com>

	* i960.h (CONST_COSTS): Fix thinko.  Test flag, not the constant
	flag bit mask.

*** gcc/config/i960/i960.h.~1~	Tue Sep 15 17:09:47 1998
--- gcc/config/i960/i960.h	Tue Sep 15 19:14:22 1998
***************
*** 1197,1203 ****
    case CONST:								\
    case LABEL_REF:							\
    case SYMBOL_REF:							\
!     return (TARGET_FLAG_C_SERIES ? 6 : 8);				\
    case CONST_DOUBLE:							\
      if ((RTX) == CONST0_RTX (DFmode) || (RTX) == CONST0_RTX (SFmode)	\
  	|| (RTX) == CONST1_RTX (DFmode) || (RTX) == CONST1_RTX (SFmode))\
--- 1197,1203 ----
    case CONST:								\
    case LABEL_REF:							\
    case SYMBOL_REF:							\
!     return (TARGET_C_SERIES ? 6 : 8);					\
    case CONST_DOUBLE:							\
      if ((RTX) == CONST0_RTX (DFmode) || (RTX) == CONST0_RTX (SFmode)	\
  	|| (RTX) == CONST1_RTX (DFmode) || (RTX) == CONST1_RTX (SFmode))\

-- 
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com,	617-354-5416 (office),	617-354-7161 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]