aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vector_sse42.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-05-19 10:27:10 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-05-19 11:22:44 +0000
commit398fdc1a874564c6d31a90fc58ec117fcf58af40 (patch)
tree2cf8db6763504b931a296b421d1be252a22de8ec /src/vppinfra/vector_sse42.h
parenta849b7b50832a63718924d4b54b6b96e2368b0d3 (diff)
Disable vector code in vlib_buffer_enqueue_to_next if no msb mask function
This fixes ARM64 build where we dont have defined u16x8_msb_mask(...) Change-Id: I864f5134a0d951601810c800f587d173b3b7ef41 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/vector_sse42.h')
-rw-r--r--src/vppinfra/vector_sse42.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/vector_sse42.h b/src/vppinfra/vector_sse42.h
index 50aa662a925..0e334c828b6 100644
--- a/src/vppinfra/vector_sse42.h
+++ b/src/vppinfra/vector_sse42.h
@@ -580,6 +580,8 @@ u8x16_msb_mask (u8x16 v)
return _mm_movemask_epi8 ((__m128i) v);
}
+#define CLIB_HAVE_VEC128_MSB_MASK
+
#undef _signed_binop
#endif /* included_vector_sse2_h */