[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/7] tcg: Define "deposit" as an optional operat
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 1/7] tcg: Define "deposit" as an optional operation. |
Date: |
Sun, 09 Jan 2011 14:45:36 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7 |
On 01/09/2011 01:38 PM, Aurelien Jarno wrote:
> The encoding of the constant part actually doesn't match the one in the
> C function where two arguments are separated and not encoded. What about
> adding a tcg_gen_op5ii_i32/64 function and having the two arguments
> separated?
I certainly didn't want to expose the combined argument to the target
translators. I had thought that saving some memory by combining the
two constants would be a good idea, but perhaps you're right that it's
overly complicated for the benefit.
> Also what about a shorter name, like for example 'dep' as it is used on
> some architectures.
I suppose. I thought perhaps that would be too cryptic though.
r~
[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