On Tue, Apr 5, 2016 at 8:06 PM, Peter Maydell wrote:
> On 4 April 2016 at 14:39, wrote:
>> From: Vijay
>>
>> Use Neon instructions to perform zero checking of
>> buffer. This is helps in reducing downtime during
>> live migration.
>>
>> Signed-off-by: Vijaya Kumar K
>> ---
>> util/cutils.c |
On 5 April 2016 at 16:21, Paolo Bonzini wrote:
> But in theory it should be enough to add a new #elif branch like this:
>
> #include "arm_neon.h"
> #define VECTYPE uint64x2_t
> #define VEC_OR(a, b) ((a) | (b))
> #define ALL_EQ(a, b) /* ??? :) */
#define ALL_EQ(a, b) (vgetq_lane_u64(a, 0) == vge
On 4 April 2016 at 14:39, wrote:
> From: Vijay
>
> Use Neon instructions to perform zero checking of
> buffer. This is helps in reducing downtime during
> live migration.
One other comment I forgot:
> +#define NEON_VECTYPE uint64x2_t
This is a 128-bit type...
> +static size_t b
On 05/04/2016 16:36, Peter Maydell wrote:
>> > +
>> > +#define BUFFER_FIND_NONZERO_OFFSET_UNROLL_FACTOR_NEON 16
>> > +
>> > +/*
>> > + * Zero page/buffer checking using SIMD(Neon)
>> > + */
>> > +
>> > +static bool
>> > +can_use_buffer_find_nonzero_offset_neon(const void *buf, size_t len)
>> > +{
On 4 April 2016 at 14:39, wrote:
> From: Vijay
>
> Use Neon instructions to perform zero checking of
> buffer. This is helps in reducing downtime during
> live migration.
>
> Signed-off-by: Vijaya Kumar K
> ---
> util/cutils.c | 81
> +
From: Vijay
Use Neon instructions to perform zero checking of
buffer. This is helps in reducing downtime during
live migration.
Signed-off-by: Vijaya Kumar K
---
util/cutils.c | 81 +
1 file changed, 81 insertions(+)
diff --git a/util/