Re: [Qemu-devel] [PATCH] tcg/ppc: Fix failure in tcg_out_mem_long

2014-06-27 Thread Peter Maydell
On 27 June 2014 05:26, Richard Henderson wrote: > With rt != r0 on loads, we use rt for scratch. If we need an index > register different from base, we can't use rt, but r0 is usable. > > Signed-off-by: Richard Henderson > --- > This ought to fix the problem that Greg reported. > > That we need

Re: [Qemu-devel] [PATCH] tcg/ppc: Fix failure in tcg_out_mem_long

2014-06-27 Thread Greg Kurz
On Thu, 26 Jun 2014 21:26:00 -0700 Richard Henderson wrote: > With rt != r0 on loads, we use rt for scratch. If we need an index > register different from base, we can't use rt, but r0 is usable. > > Signed-off-by: Richard Henderson > --- > This ought to fix the problem that Greg reported. >

Re: [Qemu-devel] [PATCH] tcg/ppc: Fix failure in tcg_out_mem_long

2014-06-26 Thread Cedric Le Goater
On 06/27/2014 06:26 AM, Richard Henderson wrote: > With rt != r0 on loads, we use rt for scratch. If we need an index > register different from base, we can't use rt, but r0 is usable. That fixes the problem : a x86_64 fedora 20 TCG guest now runs under a the latest qemu, (trusty ppc64le host)

[Qemu-devel] [PATCH] tcg/ppc: Fix failure in tcg_out_mem_long

2014-06-26 Thread Richard Henderson
With rt != r0 on loads, we use rt for scratch. If we need an index register different from base, we can't use rt, but r0 is usable. Signed-off-by: Richard Henderson --- This ought to fix the problem that Greg reported. That we need to use --enable-debug-tcg to see the assert, and that I didn't