From 13c98a2b220328b7273f6cb6189f190974a87701 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Tue, 26 Jun 2018 16:05:43 +0200 Subject: We don't have (yet) 128-bit unaligned load/store on ARM Change-Id: I16395bbf843e338cdd366d85bb4df3de95d9b265 Signed-off-by: Damjan Marion --- src/vppinfra/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vppinfra/bitmap.h b/src/vppinfra/bitmap.h index 9418b1fcced..574f4c1b0a8 100644 --- a/src/vppinfra/bitmap.h +++ b/src/vppinfra/bitmap.h @@ -386,7 +386,7 @@ clib_bitmap_first_set (uword * ai) { uword i = 0; #if uword_bits == 64 -#if defined (CLIB_HAVE_VEC256) +#if defined(CLIB_HAVE_VEC256) while (i + 7 < vec_len (ai)) { u64x4 v; @@ -395,7 +395,7 @@ clib_bitmap_first_set (uword * ai) break; i += 8; } -#elif defined (CLIB_HAVE_VEC128) +#elif defined(CLIB_HAVE_VEC128) && defined(CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE) while (i + 3 < vec_len (ai)) { u64x2 v; -- cgit 1.2.3-korg