Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-07-11 Thread Peter Maydell
On 5 July 2016 at 13:24, Vijay Kilari wrote: > On Sat, Jul 2, 2016 at 3:37 AM, Richard Henderson wrote: >> Consider >> >> #define VECTYPEuint32x4_t >> #define ALL_EQ(v1, v2) (vmaxvq_u32((v1) ^ (v2)) == 0) >> >> >> which compiles down to >> >> 1c: 6e211c00eor v0.16b, v0.16b

Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-07-05 Thread Vijay Kilari
On Sat, Jul 2, 2016 at 3:37 AM, Richard Henderson wrote: > On 06/30/2016 06:45 AM, Peter Maydell wrote: >> >> On 29 June 2016 at 09:47, wrote: >>> >>> From: Vijay >>> >>> Use Neon instructions to perform zero checking of >>> buffer. This is helps in reducing total migration time. >> >> >>> diff

Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-07-02 Thread Peter Maydell
On 1 July 2016 at 23:07, Richard Henderson wrote: > On 06/30/2016 06:45 AM, Peter Maydell wrote: >> >> On 29 June 2016 at 09:47, wrote: >>> >>> From: Vijay >>> >>> Use Neon instructions to perform zero checking of >>> buffer. This is helps in reducing total migration time. >> >> >>> diff --git

Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-07-01 Thread Richard Henderson
On 06/30/2016 06:45 AM, Peter Maydell wrote: On 29 June 2016 at 09:47, wrote: From: Vijay Use Neon instructions to perform zero checking of buffer. This is helps in reducing total migration time. diff --git a/util/cutils.c b/util/cutils.c index 5830a68..4779403 100644 --- a/util/cutils.c

Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-06-30 Thread Peter Maydell
On 29 June 2016 at 09:47, wrote: > From: Vijay > > Use Neon instructions to perform zero checking of > buffer. This is helps in reducing total migration time. > diff --git a/util/cutils.c b/util/cutils.c > index 5830a68..4779403 100644 > --- a/util/cutils.c > +++ b/util/cutils.c > @@ -184,6 +18

[Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-06-29 Thread vijayak
From: Vijay Use Neon instructions to perform zero checking of buffer. This is helps in reducing total migration time. Use case: Idle VM live migration with 4 VCPUS and 8GB ram running CentOS 7. Without Neon, the Total migration time is 3.5 Sec Migration status: completed total time: 3560 milli

Re: [Qemu-devel] [PATCH v3 1/1] target-arm: Use Neon for zero checking

2016-06-29 Thread Paolo Bonzini
On 29/06/2016 10:47, vija...@cavium.com wrote: > From: Vijay > > Use Neon instructions to perform zero checking of > buffer. This is helps in reducing total migration time. > > Use case: Idle VM live migration with 4 VCPUS and 8GB ram > running CentOS 7. > > Without Neon, the Total migration