Trivial mn10200.md fix
law@redhat.com
law@redhat.com
Mon Dec 3 08:17:00 GMT 2001
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 ();
More information about the Gcc-patches
mailing list