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]

Re: Patch to avoid non-pairable NEG instructions



  In message <19990413151600.35798@atrey.karlin.mff.cuni.cz>you write:
  > Hi
  > Here is updated version of patch.
  > I've tested the xor/not patterns merge as suggested by Jeff, but result
  > was worse code. Combiner always changes code to canonical form, where
  > xors are converted to nots. So all his proposed changes was refused.
  > 
  > This version also changes the xor patterns to avoid outputing of neg instru
  > ction.
  > 
  > BTW the xorhi patterns don't call i386_cc_probably_useless_p before
  > emiting non-prefixed opcode. Is this bug or feature?
  > 
  > Honza
  > Tue Apr 13 14:22:43 MET DST 1999 Jan Hubicka <hubicka@freesoft.cz>
  > 
  > 	* i386.md (xorsi3): Do not output NOT instrctions on Pentium.
  > 	(xorqi3): Likewise.
  > 	(xorhi3): Likewise.
  > 	(notsi2): Likewise.
  > 	(notqi2): Likewise.
  > 	(nothi2): Likewise; do not output prefixed opcodes when possible.
Thanks.  Installed.
jeff


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