qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 0/2] simplify global register save/restore
Date: Fri, 26 Feb 2010 14:05:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1

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 principle could still be used to work around bad register
allocation in GCC, so I'm leaving them in dyngen-exec.h.

I think AREG[12] should be removed too. If we aren't saving them then they
can't be safely used.

You could still use them for local register variables, but I can prepare a patch to remove them (unless you do that yourself).

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]