aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/vector_avx2.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-02-10 15:23:15 +0100
committerFlorin Coras <florin.coras@gmail.com>2022-02-10 15:45:00 +0000
commite01ce5ad5d93c2239d0885d4b9486ba10447a529 (patch)
tree12c62f7370dd5270eb0f10026645436138a43143 /src/vppinfra/vector_avx2.h
parentf8c8809d009ea6e3785e4b66047d2b4982d6286e (diff)
vppinfra:remove uXxY_is_greater
not needed, '>' works... Type: improvement Change-Id: I9bfbac787e8dca24e9b1bceda0922740eed26346 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/vector_avx2.h')
-rw-r--r--src/vppinfra/vector_avx2.h6
1 files changed, 0 insertions, 6 deletions
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
@@ -316,12 +316,6 @@ u32x8_scatter_one (u32x8 r, int index, void *p)
}
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)
{
return (u8x32) _mm256_blendv_epi8 ((__m256i) v1, (__m256i) v2,