diff options
author | Damjan Marion <damarion@cisco.com> | 2022-02-10 15:23:15 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-02-10 15:45:00 +0000 |
commit | e01ce5ad5d93c2239d0885d4b9486ba10447a529 (patch) | |
tree | 12c62f7370dd5270eb0f10026645436138a43143 /src/vppinfra/vector_sse42.h | |
parent | f8c8809d009ea6e3785e4b66047d2b4982d6286e (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_sse42.h')
-rw-r--r-- | src/vppinfra/vector_sse42.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vppinfra/vector_sse42.h b/src/vppinfra/vector_sse42.h index 35495d6658f..2b8927b6920 100644 --- a/src/vppinfra/vector_sse42.h +++ b/src/vppinfra/vector_sse42.h @@ -478,12 +478,6 @@ u32x4_scatter_one (u32x4 r, int index, void *p) } static_always_inline u8x16 -u8x16_is_greater (u8x16 v1, u8x16 v2) -{ - return (u8x16) _mm_cmpgt_epi8 ((__m128i) v1, (__m128i) v2); -} - -static_always_inline u8x16 u8x16_blend (u8x16 v1, u8x16 v2, u8x16 mask) { return (u8x16) _mm_blendv_epi8 ((__m128i) v1, (__m128i) v2, (__m128i) mask); |