[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [PATCH 5/7] tcg-i386: Implement deposit operation.
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] Re: [PATCH 5/7] tcg-i386: Implement deposit operation. |
Date: |
Mon, 10 Jan 2011 17:52:15 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Jan 09, 2011 at 04:43:22PM -0800, Richard Henderson wrote:
> On 01/09/2011 04:16 PM, Aurelien Jarno wrote:
> > The code being written now or latter doesn't change the question to know
> > if it is always possible to allocate one scratch register here on i386.
>
> Yes.
>
> Here there's only one register that needs to remain live. In the
> worst case, we'll spill one live register. Which we can always do
> via a simple store via AREG0 + offset.
Oh right correct we are inside the instruction and in a case we have
very few arguments, and only 32-bit.
If we allow the target to allocate scratch registers themselves, it's
probably better to do that via a function.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net
- Re: [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation., (continued)
- [Qemu-devel] [PATCH 7/7] target-ppc: Use deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 5/7] tcg-i386: Implement deposit operation., Richard Henderson, 2011/01/07
- Re: [Qemu-devel] Re: [PATCH 5/7] tcg-i386: Implement deposit operation., Aurelien Jarno, 2011/01/10
- Re: [Qemu-devel] Re: [PATCH 5/7] tcg-i386: Implement deposit operation., Richard Henderson, 2011/01/10
[Qemu-devel] [PATCH 2/7] tcg-ppc: Implement deposit operation., Richard Henderson, 2011/01/07
[Qemu-devel] [PATCH 1/7] tcg: Define "deposit" as an optional operation., Richard Henderson, 2011/01/07
Re: [Qemu-devel] [PATCH 0/7] Define "deposit" tcg operation, Peter Maydell, 2011/01/07