X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fvector_avx2.h;h=4cd2dc1202ee8819bc6a13e993f2e1b73670dbdf;hb=90d05bc7fb834b5cf25bdd9bb6d92bb35e602494;hp=0511ec7e4e22bc40e11bf3a7944b4663e8db14af;hpb=f9c8fe41280a48f95216cab43eab8db00ee592e1;p=vpp.git diff --git a/src/vppinfra/vector_avx2.h b/src/vppinfra/vector_avx2.h index 0511ec7e4e2..4cd2dc1202e 100644 --- a/src/vppinfra/vector_avx2.h +++ b/src/vppinfra/vector_avx2.h @@ -110,11 +110,11 @@ u8x32_msb_mask (u8x32 v) return _mm256_movemask_epi8 ((__m256i) v); } -/* _extend_to_ */ +/* _from_ */ /* *INDENT-OFF* */ #define _(f,t,i) \ static_always_inline t \ -f##_extend_to_##t (f x) \ +t##_from_##f (f x) \ { return (t) _mm256_cvt##i ((__m128i) x); } _(u16x8, u32x8, epu16_epi32)