This is the mail archive of the gcc@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]

Re: egcs, mips, difficulty with warning from "movdf_internal1a" ...


This looks like the proper fix to me.  I went ahead and checked it in.

Wed Mar  4 12:11:36 1998  Jim Wilson  <wilson@cygnus.com>

	* mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.

Index: mips.md
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/mips/mips.md,v
retrieving revision 1.21
diff -p -r1.21 mips.md
*** mips.md	1998/02/12 11:06:08	1.21
--- mips.md	1998/03/04 20:11:27
*************** move\\t%0,%z4\\n\\
*** 5589,5599 ****
    "TARGET_HARD_FLOAT && (TARGET_FLOAT64 && !TARGET_64BIT)
     && TARGET_DOUBLE_FLOAT
     && (register_operand (operands[0], DFmode)
!        || register_operand (operands[1], DFmode))
         || (GET_CODE (operands [0]) == MEM
  	   && ((GET_CODE (operands[1]) == CONST_INT
  		&& INTVAL (operands[1]) == 0)
! 	       || operands[1] == CONST0_RTX (DFmode)))"
    "* return mips_move_2words (operands, insn); "
    [(set_attr "type"	"move,load,store,store,store,store,load,load,load,load,store,store")
     (set_attr "mode"	"DF")
--- 5589,5599 ----
    "TARGET_HARD_FLOAT && (TARGET_FLOAT64 && !TARGET_64BIT)
     && TARGET_DOUBLE_FLOAT
     && (register_operand (operands[0], DFmode)
!        || register_operand (operands[1], DFmode)
         || (GET_CODE (operands [0]) == MEM
  	   && ((GET_CODE (operands[1]) == CONST_INT
  		&& INTVAL (operands[1]) == 0)
! 	       || operands[1] == CONST0_RTX (DFmode))))"
    "* return mips_move_2words (operands, insn); "
    [(set_attr "type"	"move,load,store,store,store,store,load,load,load,load,store,store")
     (set_attr "mode"	"DF")


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