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: bug fix for reload reg selection


> > Wed Jan 24 16:13:51 2001  J"orn Rennecke <amylaar@redhat.com>
> >
> > 	* reload1.c (reload_reg_free_for_value_p): New parameter inheritance.
> > 	Changed all callers.
> > 	Ignore reload_reg_unavailable for read-only uses.
> > 	(free_for_value_p): New parameters inheritance and insn.
> > 	Changed all callers.  For read-only uses, check insn - if set - for
> > 	clobbers of regno (using code broken out of choose_reload_regs).
> > 	(reload_inheritance): New function, broken out of choose_reload_regs.
> > 	(choose_reload_regs): Use it.  Allow rld[r].out != 0 for equivalences
> > 	found with find_equiv_reg.
> 
> Generally this looks like a good idea.  I'll take a closer look once we're
> out of the code slush.

AFAIK we are - we got a branch.


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