FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
vector.h File Reference
+ Include dependency graph for vector.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_vec64i   _(i,8,8) _(i,16,4) _(i,32,2)
 
#define foreach_vec64u   _(u,8,8) _(u,16,4) _(u,32,2)
 
#define foreach_vec64f   _(f,32,2)
 
#define foreach_vec128i   _(i,8,16) _(i,16,8) _(i,32,4) _(i,64,2)
 
#define foreach_vec128u   _(u,8,16) _(u,16,8) _(u,32,4) _(u,64,2)
 
#define foreach_vec128f   _(f,32,4) _(f,64,2)
 
#define foreach_vec256i   _(i,8,32) _(i,16,16) _(i,32,8) _(i,64,4)
 
#define foreach_vec256u   _(u,8,32) _(u,16,16) _(u,32,8) _(u,64,4)
 
#define foreach_vec256f   _(f,32,8) _(f,64,4)
 
#define foreach_vec512i   _(i,8,64) _(i,16,32) _(i,32,16) _(i,64,8)
 
#define foreach_vec512u   _(u,8,64) _(u,16,32) _(u,32,16) _(u,64,8)
 
#define foreach_vec512f   _(f,32,16) _(f,64,8)
 
#define foreach_int_vec   foreach_vec64i foreach_vec128i
 
#define foreach_uint_vec   foreach_vec64u foreach_vec128u
 
#define foreach_float_vec   foreach_vec64f foreach_vec128f
 
#define foreach_vec   foreach_int_vec foreach_uint_vec foreach_float_vec
 
#define CLIB_VECTOR_WORD_BITS   64
 
#define VECTOR_WORD_TYPE(t)   t##x
 
#define VECTOR_WORD_TYPE_LEN(t)   (sizeof (VECTOR_WORD_TYPE(t)) / sizeof (t))
 

Macro Definition Documentation

#define CLIB_VECTOR_WORD_BITS   64

Definition at line 129 of file vector.h.

#define foreach_float_vec   foreach_vec64f foreach_vec128f

Definition at line 103 of file vector.h.

#define foreach_int_vec   foreach_vec64i foreach_vec128i

Definition at line 101 of file vector.h.

#define foreach_uint_vec   foreach_vec64u foreach_vec128u

Definition at line 102 of file vector.h.

Definition at line 106 of file vector.h.

#define foreach_vec128f   _(f,32,4) _(f,64,2)

Definition at line 84 of file vector.h.

#define foreach_vec128i   _(i,8,16) _(i,16,8) _(i,32,4) _(i,64,2)

Definition at line 82 of file vector.h.

#define foreach_vec128u   _(u,8,16) _(u,16,8) _(u,32,4) _(u,64,2)

Definition at line 83 of file vector.h.

#define foreach_vec256f   _(f,32,8) _(f,64,4)

Definition at line 87 of file vector.h.

#define foreach_vec256i   _(i,8,32) _(i,16,16) _(i,32,8) _(i,64,4)

Definition at line 85 of file vector.h.

#define foreach_vec256u   _(u,8,32) _(u,16,16) _(u,32,8) _(u,64,4)

Definition at line 86 of file vector.h.

#define foreach_vec512f   _(f,32,16) _(f,64,8)

Definition at line 90 of file vector.h.

#define foreach_vec512i   _(i,8,64) _(i,16,32) _(i,32,16) _(i,64,8)

Definition at line 88 of file vector.h.

#define foreach_vec512u   _(u,8,64) _(u,16,32) _(u,32,16) _(u,64,8)

Definition at line 89 of file vector.h.

#define foreach_vec64f   _(f,32,2)

Definition at line 81 of file vector.h.

#define foreach_vec64i   _(i,8,8) _(i,16,4) _(i,32,2)

Definition at line 79 of file vector.h.

#define foreach_vec64u   _(u,8,8) _(u,16,4) _(u,32,2)

Definition at line 80 of file vector.h.

#define VECTOR_WORD_TYPE (   t)    t##x

Definition at line 157 of file vector.h.

#define VECTOR_WORD_TYPE_LEN (   t)    (sizeof (VECTOR_WORD_TYPE(t)) / sizeof (t))

Definition at line 158 of file vector.h.