Re-enable aarch64 neon instruction in vlib_buffer_free_inline 05/18405/2
authorLijian.Zhang <[email protected]>
Tue, 12 Mar 2019 10:32:39 +0000 (18:32 +0800)
committerDamjan Marion <[email protected]>
Wed, 20 Mar 2019 09:27:20 +0000 (09:27 +0000)
commite6a47cf5576c6e1dbae9e41365bbecfcf128603e
treef30b8c426d5830ffe3c85f76432878c7fdffa4ea
parente225f71766a75364523e6892a709ca95a3e043c1
Re-enable aarch64 neon instruction in vlib_buffer_free_inline

int vaddvq_u8 (uint8x16_t __a) is not appropriate to implement xxx_is_all_zero,
as there may be overflow causing incorrect return value.

Here's an example.
u8x16 x = {0 <repeats 12 times>, 1, 255, 0, 0};

Change-Id: Ia6a10bdf8da360dec12db902d028751a1a77e9a4
Signed-off-by: Lijian Zhang <[email protected]>
Reviewed-by: Sirshak Das <[email protected]>
src/vlib/buffer_funcs.h
src/vppinfra/vector_neon.h