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: i386.md splits 1



  In message <19981002124128.51289@atrey.karlin.mff.cuni.cz>you write:
  > > > + (define_insn "ashrsi3_31"
  > > > +   [(set (match_operand:SI 0 "nonimmediate_operand" "=rm,d")
  > > > + 	(ashiftrt:SI (match_operand:SI 1 "nonimmediate_operand" "0,a")
  > > > + 		     (const_int 31)))]
  > > > +   "ix86_cpu != PROCESSOR_PENTIUM || optimize_size"
  > > > +   "@
  > > > +     sar%L0 $31,%0
  > > > +     cltd")
  > > 
  > > Do you really want to limit this pattern to the pentium?
  > Yes. At pentium ctld takes two cycles, as mov/sar combination does.
  > But mov/sar combination is pairable, so it usually results in faster (and l
  > onger) code.
What about pentiumpro?  Seems like that pattern would be used on the PPro. 
Does anyone know what the right thing to do for PPro is?


jeff


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