X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fvector_sse42.h;h=2b6246e97f8407116d5c935fc17767e9ca39ce43;hb=54f7c51fd5a1ea927a4df3a989f62afdf9d6c0c5;hp=381db37200ed4c9c6887e196d156741595b51aaa;hpb=cd2190e124d723fcde87c1ee636a09410a384e1a;p=vpp.git diff --git a/src/vppinfra/vector_sse42.h b/src/vppinfra/vector_sse42.h index 381db37200e..2b6246e97f8 100644 --- a/src/vppinfra/vector_sse42.h +++ b/src/vppinfra/vector_sse42.h @@ -616,7 +616,7 @@ u8x16_shuffle (u8x16 v, u8x16 m) static_always_inline u32x4 u32x4_shuffle (u32x4 v, const int a, const int b, const int c, const int d) { -#if defined(__clang__) || CLIB_DEBUG > 0 +#if defined(__clang__) || !__OPTIMIZE__ u32x4 r = { v[a], v[b], v[c], v[d] }; return r; #else