FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
vector_avx2.h File Reference
+ Include dependency graph for vector_avx2.h:

Go to the source code of this file.

Macros

#define foreach_avx2_vec256i   _(i,8,32,epi8) _(i,16,16,epi16) _(i,32,8,epi32) _(i,64,4,epi64x)
 
#define foreach_avx2_vec256u   _(u,8,32,epi8) _(u,16,16,epi16) _(u,32,8,epi32) _(u,64,4,epi64x)
 
#define foreach_avx2_vec256f   _(f,32,8,ps) _(f,64,4,pd)
 

Functions

foreach_avx2_vec256i static foreach_avx2_vec256u u32x8 u32x8_permute (u32x8 v, u32x8 idx)
 
u16x16 u64x4 static_always_inline u32 u8x32_msb_mask (u8x32 v)
 
epu16_epi64 epu8_epi64 epu8_epi64 epi16_epi64 epi8_epi64 epi8_epi64 static_always_inline u16x16 u16x16_byte_swap (u16x16 v)
 
static_always_inline u32x8 u32x8_hadd (u32x8 v1, u32x8 v2)
 
static_always_inline u16x16 u16x16_mask_last (u16x16 v, u8 n_last)
 

Variables

 u64x4
 
epu16_epi64 u16x16
 
epu16_epi64 epu8_epi64 epu8_epi64 i64x4
 
epu16_epi64 epu8_epi64 epu8_epi64 epi16_epi64 i16x16
 

Macro Definition Documentation

#define foreach_avx2_vec256f   _(f,32,8,ps) _(f,64,4,pd)

Definition at line 27 of file vector_avx2.h.

#define foreach_avx2_vec256i   _(i,8,32,epi8) _(i,16,16,epi16) _(i,32,8,epi32) _(i,64,4,epi64x)

Definition at line 23 of file vector_avx2.h.

#define foreach_avx2_vec256u   _(u,8,32,epi8) _(u,16,16,epi16) _(u,32,8,epi32) _(u,64,4,epi64x)

Definition at line 25 of file vector_avx2.h.

Function Documentation

epu16_epi64 epu8_epi64 epu8_epi64 epi16_epi64 epi8_epi64 epi8_epi64 static_always_inline u16x16 u16x16_byte_swap ( u16x16  v)

Definition at line 125 of file vector_avx2.h.

+ Here is the caller graph for this function:

static_always_inline u16x16 u16x16_mask_last ( u16x16  v,
u8  n_last 
)

Definition at line 141 of file vector_avx2.h.

static_always_inline u32x8 u32x8_hadd ( u32x8  v1,
u32x8  v2 
)

Definition at line 135 of file vector_avx2.h.

foreach_avx2_vec256i static foreach_avx2_vec256u u32x8 u32x8_permute ( u32x8  v,
u32x8  idx 
)
inlinestatic

Definition at line 62 of file vector_avx2.h.

+ Here is the caller graph for this function:

u16x16 u64x4 static_always_inline u32 u8x32_msb_mask ( u8x32  v)

Definition at line 97 of file vector_avx2.h.

+ Here is the caller graph for this function:

Variable Documentation

epu16_epi64 epu8_epi64 epu8_epi64 epi16_epi64 i16x16

Definition at line 118 of file vector_avx2.h.

epu16_epi64 epu8_epi64 epu8_epi64 epi16_epi64 epi8_epi64 i64x4

Definition at line 116 of file vector_avx2.h.

epu16_epi64 u16x16

Definition at line 112 of file vector_avx2.h.

epu16_epi64 epu8_epi64 u64x4

Definition at line 110 of file vector_avx2.h.