From e01ce5ad5d93c2239d0885d4b9486ba10447a529 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 10 Feb 2022 15:23:15 +0100 Subject: vppinfra:remove uXxY_is_greater not needed, '>' works... Type: improvement Change-Id: I9bfbac787e8dca24e9b1bceda0922740eed26346 Signed-off-by: Damjan Marion --- src/vppinfra/vector_avx2.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/vppinfra/vector_avx2.h') diff --git a/src/vppinfra/vector_avx2.h b/src/vppinfra/vector_avx2.h index 6a363ccfa92..f5c09a53f96 100644 --- a/src/vppinfra/vector_avx2.h +++ b/src/vppinfra/vector_avx2.h @@ -315,12 +315,6 @@ u32x8_scatter_one (u32x8 r, int index, void *p) *(u32 *) p = r[index]; } -static_always_inline u8x32 -u8x32_is_greater (u8x32 v1, u8x32 v2) -{ - return (u8x32) _mm256_cmpgt_epi8 ((__m256i) v1, (__m256i) v2); -} - static_always_inline u8x32 u8x32_blend (u8x32 v1, u8x32 v2, u8x32 mask) { -- cgit 1.2.3-korg