Re: [PATCH, Atom] Improve AGU stalls avoidance optimization

2011-09-08 Thread H.J. Lu
On Tue, Sep 6, 2011 at 10:54 AM, Ilya Enkovich wrote: > 2011/9/6 Uros Bizjak : >> >> Please merge your new splitters with corresponding LEA patterns. >> >> OK with this change. >> >> Thanks, >> Uros. >> > > Fixed. Could please someone check it in if it's OK now? > > Thanks, > Ilya > --- > gcc/ > >

Re: [PATCH, Atom] Improve AGU stalls avoidance optimization

2011-09-06 Thread Ilya Enkovich
2011/9/6 Uros Bizjak : > > Please merge your new splitters with corresponding LEA patterns. > > OK with this change. > > Thanks, > Uros. > Fixed. Could please someone check it in if it's OK now? Thanks, Ilya --- gcc/ 2011-09-06 Enkovich Ilya * config/i386/i386-protos.h (ix86_lea_outp

Re: [PATCH, Atom] Improve AGU stalls avoidance optimization

2011-09-06 Thread Uros Bizjak
On Tue, Sep 6, 2011 at 2:26 PM, Ilya Enkovich wrote: > Is fixed version OK? > > Thanks, > Ilya > --- > gcc/ > > 2011-09-06  Enkovich Ilya   > >        * config/i386/i386-protos.h (ix86_lea_outperforms): New. >        (ix86_avoid_lea_for_add): Likewise. >        (ix86_avoid_lea_for_addr): Likewis

Re: [PATCH, Atom] Improve AGU stalls avoidance optimization

2011-09-06 Thread Ilya Enkovich
Hello, Thanks for review! 2011/9/3 Uros Bizjak : > Did you also test on x32 ? H.J.'s x32 page [1] currently says that > Atom LEA optimization is disabled on x32 for some reason. No. I did not try to cover x32. It will be a separate work. > +bool > +ix86_avoid_lea_for_addr (rtx insn, rtx operands

Re: [PATCH, Atom] Improve AGU stalls avoidance optimization

2011-09-03 Thread Uros Bizjak
... Sent again, with correct Cc and subject line ... Hello! > Here is a patch which adds few more splits for AGU stalls avoidance on > Atom. It also fixes cost model and detects AGU stalls more > efficiently. > > Bootstrapped and checked on x86_64-linux. > > 2011-09-02  Enkovich Ilya   > >