Re: [Qemu-devel] [PATCH] target/arm: Avoid an extra temporary for store_exclusive

2017-09-14 Thread Peter Maydell
On 8 September 2017 at 18:46, Alistair Francis wrote: > On Fri, Sep 8, 2017 at 9:38 AM, Richard Henderson > wrote: >> Instead of copying addr to a local temp, reuse the value (which we >> have just compared as equal) already saved in cpu_exclusive_addr. >> >> Signed-off-by: Richard Henderson > >

Re: [Qemu-devel] [PATCH] target/arm: Avoid an extra temporary for store_exclusive

2017-09-08 Thread Alistair Francis
On Fri, Sep 8, 2017 at 9:38 AM, Richard Henderson wrote: > Instead of copying addr to a local temp, reuse the value (which we > have just compared as equal) already saved in cpu_exclusive_addr. > > Signed-off-by: Richard Henderson Reviewed-by: Alistair Francis Thanks, Alistair > --- > target

[Qemu-devel] [PATCH] target/arm: Avoid an extra temporary for store_exclusive

2017-09-08 Thread Richard Henderson
Instead of copying addr to a local temp, reuse the value (which we have just compared as equal) already saved in cpu_exclusive_addr. Signed-off-by: Richard Henderson --- target/arm/translate-a64.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/tar

[Qemu-devel] [PATCH] target/arm: Avoid an extra temporary for store_exclusive

2017-08-12 Thread Richard Henderson
Instead of copying addr to a local temp, reuse the value (which we have just compared as equal) already saved in cpu_exclusive_addr. Signed-off-by: Richard Henderson --- target/arm/translate-a64.c | 26 +- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/tar