FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Variables | |
u8x16 | |
_mm_packus_epi16 | u16x8 |
add_saturate | |
adds_epu | sub_saturate |
left | |
sll | right |
sll srl srl sll sra u16x4 | i |
u8 | u32x4_compare_word_mask_table [256] |
u32x4 | |
epu8_epi32 epu16_epi32 | u64x2 |
epu8_epi32 epu16_epi32 epu32_epi64 | i32x4 |
epu8_epi32 epu16_epi32 epu32_epi64 epi8_epi32 epi16_epi32 | i64x2 |
#define CLIB_HAVE_VEC128_MSB_MASK |
Definition at line 566 of file vector_sse42.h.
#define CLIB_HAVE_VEC128_UNALIGNED_LOAD_STORE |
Definition at line 98 of file vector_sse42.h.
#define CLIB_VEC128_SPLAT_DEFINED |
Definition at line 97 of file vector_sse42.h.
Definition at line 49 of file vector_sse42.h.
Definition at line 45 of file vector_sse42.h.
#define foreach_sse42_vec128u _(u,8,16,epi8) _(u,16,8,epi16) _(u,32,4,epi32) _(u,64,2,epi64x) |
Definition at line 47 of file vector_sse42.h.
#define i16x8_word_shift_left | ( | a, | |
n | |||
) | ((u16x8) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u16))) |
Definition at line 317 of file vector_sse42.h.
#define i16x8_word_shift_right | ( | a, | |
n | |||
) | ((i16x8) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u16))) |
Definition at line 321 of file vector_sse42.h.
#define i32x4_word_shift_left | ( | a, | |
n | |||
) | ((u32x4) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u32))) |
Definition at line 326 of file vector_sse42.h.
#define i32x4_word_shift_right | ( | a, | |
n | |||
) | ((i32x4) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u32))) |
Definition at line 330 of file vector_sse42.h.
#define i64x2_word_shift_left | ( | a, | |
n | |||
) | ((u64x2) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u64))) |
Definition at line 335 of file vector_sse42.h.
#define i64x2_word_shift_right | ( | a, | |
n | |||
) | ((i64x2) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u64))) |
Definition at line 339 of file vector_sse42.h.
#define i8x16_word_shift_left | ( | a, | |
n | |||
) | ((i8x16) u8x16_word_shift_left((u8x16) (a), (n))) |
Definition at line 310 of file vector_sse42.h.
#define i8x16_word_shift_right | ( | a, | |
n | |||
) | ((i8x16) u8x16_word_shift_right((u8x16) (a), (n))) |
Definition at line 312 of file vector_sse42.h.
#define u16x8_word_shift_left | ( | a, | |
n | |||
) | ((u16x8) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u16))) |
Definition at line 315 of file vector_sse42.h.
#define u16x8_word_shift_right | ( | a, | |
n | |||
) | ((u16x8) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u16))) |
Definition at line 319 of file vector_sse42.h.
#define u32x4_select | ( | A, | |
MASK | |||
) |
Definition at line 396 of file vector_sse42.h.
#define u32x4_splat_word | ( | x, | |
i | |||
) |
Definition at line 406 of file vector_sse42.h.
#define u32x4_word_shift_left | ( | a, | |
n | |||
) | ((u32x4) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u32))) |
Definition at line 324 of file vector_sse42.h.
#define u32x4_word_shift_right | ( | a, | |
n | |||
) | ((u32x4) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u32))) |
Definition at line 328 of file vector_sse42.h.
#define u64x2_word_shift_left | ( | a, | |
n | |||
) | ((u64x2) u8x16_word_shift_left((u8x16) (a), (n) * sizeof (u64))) |
Definition at line 333 of file vector_sse42.h.
#define u64x2_word_shift_right | ( | a, | |
n | |||
) | ((u64x2) u8x16_word_shift_right((u8x16) (a), (n) * sizeof (u64))) |
Definition at line 337 of file vector_sse42.h.
Definition at line 519 of file vector_sse42.h.
Definition at line 307 of file vector_sse42.h.
Definition at line 308 of file vector_sse42.h.
|
inlinestatic |
Definition at line 284 of file vector_sse42.h.
|
inlinestatic |
Definition at line 296 of file vector_sse42.h.
Definition at line 502 of file vector_sse42.h.
Definition at line 511 of file vector_sse42.h.
Definition at line 228 of file vector_sse42.h.
Definition at line 216 of file vector_sse42.h.
|
inlinestatic |
Definition at line 290 of file vector_sse42.h.
|
inlinestatic |
Definition at line 302 of file vector_sse42.h.
static_always_inline u32 i32x4_max_scalar | ( | i32x4 | v | ) |
Definition at line 547 of file vector_sse42.h.
static_always_inline u32 i32x4_min_scalar | ( | i32x4 | v | ) |
Definition at line 539 of file vector_sse42.h.
static_always_inline u16 i8x16_msb_mask | ( | i8x16 | v | ) |
|
inlinestatic |
Definition at line 163 of file vector_sse42.h.
|
inlinestatic |
Definition at line 169 of file vector_sse42.h.
|
inlinestatic |
Definition at line 272 of file vector_sse42.h.
static_always_inline u16x8 u16x8_byte_swap | ( | u16x8 | v | ) |
Definition at line 580 of file vector_sse42.h.
Definition at line 114 of file vector_sse42.h.
Definition at line 120 of file vector_sse42.h.
Definition at line 234 of file vector_sse42.h.
Definition at line 222 of file vector_sse42.h.
Definition at line 468 of file vector_sse42.h.
|
inlinestatic |
Definition at line 175 of file vector_sse42.h.
|
inlinestatic |
Definition at line 181 of file vector_sse42.h.
|
inlinestatic |
Definition at line 266 of file vector_sse42.h.
|
inlinestatic |
Definition at line 278 of file vector_sse42.h.
static_always_inline u32x4 u32x4_byte_swap | ( | u32x4 | v | ) |
Definition at line 571 of file vector_sse42.h.
static_always_inline u32x4 u32x4_gather | ( | void * | p0, |
void * | p1, | ||
void * | p2, | ||
void * | p3 | ||
) |
Definition at line 660 of file vector_sse42.h.
static_always_inline u32x4 u32x4_hadd | ( | u32x4 | v1, |
u32x4 | v2 | ||
) |
Definition at line 598 of file vector_sse42.h.
Definition at line 126 of file vector_sse42.h.
Definition at line 132 of file vector_sse42.h.
static_always_inline u32 u32x4_max_scalar | ( | u32x4 | v | ) |
Definition at line 531 of file vector_sse42.h.
static_always_inline u32 u32x4_min_scalar | ( | u32x4 | v | ) |
Definition at line 523 of file vector_sse42.h.
static_always_inline void u32x4_scatter | ( | u32x4 | r, |
void * | p0, | ||
void * | p1, | ||
void * | p2, | ||
void * | p3 | ||
) |
Definition at line 675 of file vector_sse42.h.
static_always_inline void u32x4_scatter_one | ( | u32x4 | r, |
int | index, | ||
void * | p | ||
) |
Definition at line 690 of file vector_sse42.h.
static_always_inline u32x4 u32x4_shuffle | ( | u32x4 | v, |
const int | a, | ||
const int | b, | ||
const int | c, | ||
const int | d | ||
) |
static_always_inline u32 __clib_unused u32x4_sum_elts | ( | u32x4 | sum4 | ) |
Definition at line 604 of file vector_sse42.h.
epu8_epi32 epu16_epi32 epu32_epi64 epi8_epi32 epi16_epi32 epi32_epi64 static_always_inline u64x2 u64x2_gather | ( | void * | p0, |
void * | p1 | ||
) |
Definition at line 653 of file vector_sse42.h.
Definition at line 138 of file vector_sse42.h.
Definition at line 144 of file vector_sse42.h.
static_always_inline void u64x2_scatter | ( | u64x2 | r, |
void * | p0, | ||
void * | p1 | ||
) |
Definition at line 668 of file vector_sse42.h.
static_always_inline void u64x2_scatter_one | ( | u64x2 | r, |
int | index, | ||
void * | p | ||
) |
Definition at line 684 of file vector_sse42.h.
static_always_inline u8x16 u8x16_blend | ( | u8x16 | v1, |
u8x16 | v2, | ||
u8x16 | mask | ||
) |
Definition at line 102 of file vector_sse42.h.
Definition at line 108 of file vector_sse42.h.
static_always_inline u8x16 u8x16_is_greater | ( | u8x16 | v1, |
u8x16 | v2 | ||
) |
Definition at line 482 of file vector_sse42.h.
Definition at line 492 of file vector_sse42.h.
static_always_inline u16 u8x16_msb_mask | ( | u8x16 | v | ) |
Definition at line 555 of file vector_sse42.h.
static_always_inline u8x16 u8x16_reflect | ( | u8x16 | v | ) |
Definition at line 589 of file vector_sse42.h.
static_always_inline u8x16 u8x16_shuffle | ( | u8x16 | v, |
u8x16 | m | ||
) |
Definition at line 612 of file vector_sse42.h.
static_always_inline u8x16 u8x16_xor3 | ( | u8x16 | a, |
u8x16 | b, | ||
u8x16 | c | ||
) |
Definition at line 708 of file vector_sse42.h.
|
inlinestatic |
Definition at line 151 of file vector_sse42.h.
|
inlinestatic |
Definition at line 157 of file vector_sse42.h.
add_saturate |
Definition at line 212 of file vector_sse42.h.
sll srl srl sll sra u16x4 i |
Definition at line 261 of file vector_sse42.h.
epu8_epi32 epu16_epi32 epu32_epi64 epi8_epi32 i32x4 |
Definition at line 644 of file vector_sse42.h.
epu8_epi32 epu16_epi32 epu32_epi64 epi8_epi32 epi16_epi32 i64x2 |
Definition at line 648 of file vector_sse42.h.
sll srl srl left |
Definition at line 249 of file vector_sse42.h.
sll srl srl sll right |
Definition at line 251 of file vector_sse42.h.
adds_epu sub_saturate |
Definition at line 214 of file vector_sse42.h.
_mm_packus_epi16 u16x8 |
Definition at line 196 of file vector_sse42.h.
epu8_epi32 u32x4 |
Definition at line 637 of file vector_sse42.h.
u8 u32x4_compare_word_mask_table[256] |
epu8_epi32 epu16_epi32 u64x2 |
Definition at line 641 of file vector_sse42.h.
u8x16 |
Definition at line 194 of file vector_sse42.h.