Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic instructions

2015-08-25 Thread Chen Gang
On 8/25/15 22:28, Richard Henderson wrote: > On 08/25/2015 06:12 AM, Chen Gang wrote: Consider a bundle like { add r0, r0, r1 ; exch r2, r0, r3 } In Chen's implementation, the writeback to r0 would occur before the exception, and so the exch would happen to the w

Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic instructions

2015-08-25 Thread Richard Henderson
On 08/25/2015 06:12 AM, Chen Gang wrote: From: xili_gchen_5...@hotmail.com To: r...@twiddle.net; qemu-devel@nongnu.org CC: w...@tilera.com; cmetc...@ezchip.com; peter.mayd...@linaro.org Subject: Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle

Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic instructions

2015-08-25 Thread Chen Gang
> From: xili_gchen_5...@hotmail.com > To: r...@twiddle.net; qemu-devel@nongnu.org > CC: w...@tilera.com; cmetc...@ezchip.com; peter.mayd...@linaro.org > Subject: Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic > instructi

Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic instructions

2015-08-25 Thread Chen Gang
On 8/25/15 12:15, Richard Henderson wrote: > On 08/24/2015 09:17 AM, Richard Henderson wrote: >> Signed-off-by: Richard Henderson >> --- >> target-tilegx/translate.c | 50 >> ++- >> 1 file changed, 49 insertions(+), 1 deletion(-) >> >> diff --git a/targe

Re: [Qemu-devel] [PATCH v14 30/33] target-tilegx: Handle atomic instructions

2015-08-24 Thread Richard Henderson
On 08/24/2015 09:17 AM, Richard Henderson wrote: Signed-off-by: Richard Henderson --- target-tilegx/translate.c | 50 ++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/target-tilegx/translate.c b/target-tilegx/translate.c index 210e9