Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-03-01 Thread Paul Brook
> On 02/26/2010 07:32 PM, Paul Brook wrote: > >> > You could still use them for local register variables, but I can > >> > prepare a patch to remove them (unless you do that yourself). > > > > I'm not sure what you mean by a "local register variable". > > I'm thinking of using > >register bl

Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-03-01 Thread Paolo Bonzini
On 02/26/2010 07:32 PM, Paul Brook wrote: > You could still use them for local register variables, but I can prepare > a patch to remove them (unless you do that yourself). I'm not sure what you mean by a "local register variable". I'm thinking of using register blah blah asm(AREG1); as

Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-02-26 Thread Paul Brook
> On 02/26/2010 12:30 PM, Paul Brook wrote: > >> Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global > >> register that is actually used is AREG0, so the complexity of > >> hostregs_helper.h is unwarranted. > >> > >> Let's just say that env should be the only global register.

Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-02-26 Thread Paolo Bonzini
On 02/26/2010 12:30 PM, Paul Brook wrote: Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global register that is actually used is AREG0, so the complexity of hostregs_helper.h is unwarranted. Let's just say that env should be the only global register. AREG1 and AREG2 in princ

Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-02-26 Thread Paul Brook
> Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global > register that is actually used is AREG0, so the complexity of > hostregs_helper.h is unwarranted. > > Let's just say that env should be the only global register. AREG1 and > AREG2 in principle could still be used to work

Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-02-13 Thread Blue Swirl
On Thu, Feb 11, 2010 at 1:26 AM, Paolo Bonzini wrote: > Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global > register that is actually used is AREG0, so the complexity of > hostregs_helper.h is unwarranted. > > Let's just say that env should be the only global register.  AREG

[Qemu-devel] [PATCH 0/2] simplify global register save/restore

2010-02-10 Thread Paolo Bonzini
Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global register that is actually used is AREG0, so the complexity of hostregs_helper.h is unwarranted. Let's just say that env should be the only global register. AREG1 and AREG2 in principle could still be used to work around bad