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]
Other format: [Raw text]

Re: [PATCH] Value profile based optimizations, part 1


> On Thu, Jun 19, 2003 at 02:59:31AM +0200, Zdenek Dvorak wrote:
> > +   for (i = 0; i < HARD_REGNO_NREGS (regno, GET_MODE (reg)); i++)
> 
> Need to check for pseudos first.
> 
> > +   bitmap_operation (killed, killed, e->dest->global_live_at_start, BITMAP_AND);
> 
> Wrap long line.
> 
> > + 	  y = emit_move_insn (to, from);
> > + 	  if (recog (PATTERN (y), y, NULL) < 0)
> 
> Don't need to recog emit_move_insn.

I beleive that Zdenek is shooting here for the cases where target refuse
to save flags register.  In that case emit_move_insn really will produce
bogus pattern and it is probably not good idea to call it this way
anyway.

Honza
> 
> 
> 
> r~


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