From ef0bac70995bb225fea8955009b34d5b823285ba Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 22 Apr 2021 18:08:28 +0200 Subject: vlib: improve enqueue_to_next buffer indices extraction Type: improvement Change-Id: Ib7b2fa7d821f6d2708f6dc378a0f36f68c843f57 Signed-off-by: Damjan Marion --- src/vppinfra/vector_avx512.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/vppinfra/vector_avx512.h') diff --git a/src/vppinfra/vector_avx512.h b/src/vppinfra/vector_avx512.h index a688baec7fb..2f5763e3c92 100644 --- a/src/vppinfra/vector_avx512.h +++ b/src/vppinfra/vector_avx512.h @@ -323,8 +323,12 @@ _ (u8x16, u16, _mm, __m128i, epi8) #endif #undef _ +#ifdef CLIB_HAVE_VEC256 #define CLIB_HAVE_VEC256_COMPRESS +#endif +#ifdef CLIB_HAVE_VEC512 #define CLIB_HAVE_VEC512_COMPRESS +#endif #ifndef __AVX512VBMI2__ static_always_inline u16x16 -- cgit 1.2.3-korg