diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vppinfra/bitmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |