X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fvector_neon.h;h=5a7bbe36a4d54e3b0187e59958fb80a641e2414e;hb=2347278d9530690e0cec815652f5749def673404;hp=e0d0f065c0e4d9382fb42a4ca728ac14033af1db;hpb=0f9845120afb1dde120e2dac1ee0f280801307a4;p=vpp.git diff --git a/src/vppinfra/vector_neon.h b/src/vppinfra/vector_neon.h index e0d0f065c0e..5a7bbe36a4d 100644 --- a/src/vppinfra/vector_neon.h +++ b/src/vppinfra/vector_neon.h @@ -176,6 +176,12 @@ u32x4_scatter (u32x4 r, void *p0, void *p1, void *p2, void *p3) *(u32 *) p3 = vgetq_lane_u32 (r, 3); } +static_always_inline u32 +u32x4_min_scalar (u32x4 v) +{ + return vminvq_u32 (v); +} + #define CLIB_HAVE_VEC128_MSB_MASK #define CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE