Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-18 Thread Paul Brook
> > That's an option, basically keeping the list (or only one ?) of aliased > > TCG variables for each of them, and freeing the others before using one. > > Yeah, only one. I don't think this should be getting overengineered (and > thus slow) :-). > Doesn't really sound hard, does it? Any TCG magi

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-18 Thread Alexander Graf
Aurelien Jarno wrote: > On Wed, Nov 18, 2009 at 01:01:13AM +0100, Alexander Graf wrote: > >> On 18.11.2009, at 00:40, Aurelien Jarno wrote: >> >> >>> On Wed, Nov 11, 2009 at 12:56:47AM +, Paul Brook wrote: >>> On Thursday 22 October 2009, Aurelien Jarno wrote:

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-18 Thread Aurelien Jarno
On Wed, Nov 18, 2009 at 01:01:13AM +0100, Alexander Graf wrote: > > On 18.11.2009, at 00:40, Aurelien Jarno wrote: > >> On Wed, Nov 11, 2009 at 12:56:47AM +, Paul Brook wrote: >>> On Thursday 22 October 2009, Aurelien Jarno wrote: On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrot

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-17 Thread Alexander Graf
On 18.11.2009, at 00:40, Aurelien Jarno wrote: On Wed, Nov 11, 2009 at 12:56:47AM +, Paul Brook wrote: On Thursday 22 October 2009, Aurelien Jarno wrote: On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: sync allows concurrent accesses to locations in memory through differen

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-17 Thread Aurelien Jarno
On Wed, Nov 11, 2009 at 12:56:47AM +, Paul Brook wrote: > On Thursday 22 October 2009, Aurelien Jarno wrote: > > On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: > > > sync allows concurrent accesses to locations in memory through different > > > TCG variables. This comes in handy

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-16 Thread Alexander Graf
Paul Brook wrote: >>> While sync appears attractive as a quick hack to achieve this, I think it >>> is liable to be abused, and cause us serious pain long-term. If you need >>> an easy solution then use ld/st (as with ARM VFP registers). If you want >>> a good solution then fix whichever bit of TCG

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-16 Thread Paul Brook
> > While sync appears attractive as a quick hack to achieve this, I think it > > is liable to be abused, and cause us serious pain long-term. If you need > > an easy solution then use ld/st (as with ARM VFP registers). If you want > > a good solution then fix whichever bit of TCG makes accessing a

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-16 Thread Alexander Graf
Paul Brook wrote: > On Thursday 22 October 2009, Aurelien Jarno wrote: > >> On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: >> >>> sync allows concurrent accesses to locations in memory through different >>> TCG variables. This comes in handy when you are emulating CPU registe

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-11-10 Thread Paul Brook
On Thursday 22 October 2009, Aurelien Jarno wrote: > On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: > > sync allows concurrent accesses to locations in memory through different > > TCG variables. This comes in handy when you are emulating CPU registers > > that can be used as either

Re: [Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-10-22 Thread malc
On Thu, 22 Oct 2009, Aurelien Jarno wrote: > On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: > > sync allows concurrent accesses to locations in memory through different TCG > > variables. This comes in handy when you are emulating CPU registers that can > > be used as either 32 or 6

[Qemu-devel] Re: [PATCH 01/12] TCG "sync" op

2009-10-22 Thread Aurelien Jarno
On Wed, Oct 21, 2009 at 03:52:22PM +0200, Ulrich Hecht wrote: > sync allows concurrent accesses to locations in memory through different TCG > variables. This comes in handy when you are emulating CPU registers that can > be used as either 32 or 64 bit, as TCG doesn't know anything about aliases. >