We don't have (yet) 128-bit unaligned load/store on ARM 25/13225/2
authorDamjan Marion <damarion@cisco.com>
Tue, 26 Jun 2018 14:05:43 +0000 (16:05 +0200)
committerDamjan Marion <dmarion@me.com>
Tue, 26 Jun 2018 15:11:22 +0000 (15:11 +0000)
Change-Id: I16395bbf843e338cdd366d85bb4df3de95d9b265
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/bitmap.h

index 9418b1f..574f4c1 100644 (file)
@@ -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;