1 Jan 2005 13:31
Re: [RFA/pa-risc] Correct incorrect frame base
Joel Brobecker <brobecker <at> adacore.com>
2005-01-01 12:31:02 GMT
2005-01-01 12:31:02 GMT
> On Fri, Dec 31, 2004 at 07:14:15PM +0400, Joel Brobecker wrote: > > There is a small confusion in the source register for the addil > > instruction. The actual sequence should be > > > > addil high21,%r30 > > ldo low11(%r1),%r30 > > > > I think the confusion comes from the fact that the result of > > the sum is stored in %r1. > > "addil <number>,%r30" sets %r1 and not %r30? Yes. "addil high21,%rn" adds high21 to register n, and then always stores the results in r1. > Whose bright idea was that, anyway?(Continue reading)> > 2004-12-31 Joel Brobecker <brobecker <at> gnat.com> > > > > * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion > > in register number for ldil instruction. > > > > Tested on HP/UX 11.00, no regression. > > OK to apply? > > OK. Typo in the changelog: that's addil, not ldil, isn't it? Good catch, sorry for the confusion. Fixed and checked in.
> > 2004-12-31 Joel Brobecker <brobecker <at> gnat.com>
> >
> > * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
> > in register number for ldil instruction.
> >
> > Tested on HP/UX 11.00, no regression.
> > OK to apply?
>
> OK. Typo in the changelog: that's addil, not ldil, isn't it?
Good catch, sorry for the confusion. Fixed and checked in.
RSS Feed