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 prefixes in ashlhi3 pattern



  In message <19990412160159.28096@atrey.karlin.mff.cuni.cz>you write:
  > 
  > Hi
  > This patch adds some extra checking to ashlhi3 pattern  to avoid emiting
  > of prefixed opcode.
  > 
  > Mon Apr 12 15:59:39 MET DST 1999 Jan Hubicka <hubicka@freesoft.cz>
  > 
  > 	* i386.md (asilhi3): Do not emit prefixed opcode when possible.
  > 
[ ... ]

  >     if (REG_P (operands[0]) && operands[2] == const1_rtx)
  >       return AS2 (add%W0,%0,%0);
Seems to me you can also avoid a prefixed opcode here too.  Is there some
reason you don't?


jeff


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