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: Reload inheritance and auto inc/dec


On Sep 14, 2000, Bernd Schmidt <bernds@redhat.com> wrote:

> On 14 Sep 2000, Alexandre Oliva wrote:
>> On Sep 14, 2000, Bernd Schmidt <bernds@redhat.co.uk> wrote:
>> > and the comment is maybe a bit misleading.
>> 
>> In what sense?

> "We use the original pseudo for the output"; this is what the first patch
> did but this wasn't the real problem.  The real problem was passing the
> right locations so that in_reg and out_reg would get set properly.

In the second version of the patch, it says:

		  /* We use the original pseudo for loc, so that
                                                    ^^^
		     emit_reload_insns() knows which pseudo this
		     reload refers to and updates the pseudo rtx, not
		     its equivalent memory location, as well as the
		     corresponding entry in reg_last_reload_reg.  */

Is this sufficiently accurate?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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