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: Stop reload from using the hard frame pointer as a reload register


Richard Sandiford <richard@codesourcery.com> writes:

> gcc/
> 	* reload.h (elimination_target_reg_p): Declare.
> 	* reload.c (find_reloads): Don't apply the reg_rtx move
> 	optimization if the SET_DEST satisfies elimination_target_reg_p.
> 	* reload1.c (elimination_target_reg_p): New function.
> 	(gen_reload): In the move/add2 fallback, make sure that op0
> 	does not overlap the destination register.

This is OK.

Thanks.

Ian


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