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]
Other format: [Raw text]

Trivial mn10200.md fix



I found this while poking at the mn102 port.  This certainly doesn't get
the port functional again (there's outstanding generic as well as backend
issues), it's one less thing to worry about if we do want to bring the
port back to life.

	* mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
	bit twiddling constant.


Index: mn10200.md
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mn10200/mn10200.md,v
retrieving revision 1.69
diff -c -3 -p -r1.69 mn10200.md
*** mn10200.md	2001/11/26 01:16:38	1.69
--- mn10200.md	2001/12/03 16:10:46
***************
*** 1691,1697 ****
    target = operand_subword (operands[0], 1, 1, SFmode);
    result = expand_binop (HImode, xor_optab,
  			 operand_subword_force (operands[1], 1, SFmode),
! 			 GEN_INT(0x8000), target, 0, OPTAB_WIDEN);
  
    if (result == 0)
      abort ();
--- 1691,1697 ----
    target = operand_subword (operands[0], 1, 1, SFmode);
    result = expand_binop (HImode, xor_optab,
  			 operand_subword_force (operands[1], 1, SFmode),
! 			 GEN_INT(-0x8000), target, 0, OPTAB_WIDEN);
  
    if (result == 0)
      abort ();




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