FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
vector_altivec.h File Reference

Go to the source code of this file.

Macros

#define u16x8_splat(i)   ((u16x8) __builtin_altivec_vspltish (i))
 
#define i16x8_splat(i)   ((i16x8) __builtin_altivec_vspltish (i))
 
#define u32x4_splat(i)   ((u32x4) __builtin_altivec_vspltisw (i))
 
#define i32x4_splat(i)   ((i32x4) __builtin_altivec_vspltisw (i))
 
#define u16x8_splat_word(x, i)   ((u16x8) __builtin_altivec_vsplth ((i16x8) (x), (i)))
 
#define i16x8_splat_word(x, i)   ((i16x8) __builtin_altivec_vsplth ((i16x8) (x), (i)))
 
#define u32x4_splat_word(x, i)   ((u32x4) __builtin_altivec_vspltw ((i32x4) (x), (i)))
 
#define i32x4_splat_word(x, i)   ((i32x4) __builtin_altivec_vspltw ((i32x4) (x), (i)))
 

Functions

vslo vsro vslo static vsro u32 u32x4_get0 (u32x4 x)
 
static u32x4 u32x4_is_zero (u32x4 x)
 
static u32 u32x4_zero_byte_mask (u32x4 x)
 

Variables

 i32
 
 left
 
vslo right
 
vslo vsro i16
 
 i32x4
 
 lo
 
vmrglw i16x8
 
vmrglw vmrglh hi
 
 is_equal
 

Macro Definition Documentation

#define i16x8_splat (   i)    ((i16x8) __builtin_altivec_vspltish (i))

Definition at line 50 of file vector_altivec.h.

#define i16x8_splat_word (   x,
  i 
)    ((i16x8) __builtin_altivec_vsplth ((i16x8) (x), (i)))

Definition at line 55 of file vector_altivec.h.

#define i32x4_splat (   i)    ((i32x4) __builtin_altivec_vspltisw (i))

Definition at line 52 of file vector_altivec.h.

#define i32x4_splat_word (   x,
  i 
)    ((i32x4) __builtin_altivec_vspltw ((i32x4) (x), (i)))

Definition at line 57 of file vector_altivec.h.

#define u16x8_splat (   i)    ((u16x8) __builtin_altivec_vspltish (i))

Definition at line 49 of file vector_altivec.h.

#define u16x8_splat_word (   x,
  i 
)    ((u16x8) __builtin_altivec_vsplth ((i16x8) (x), (i)))

Definition at line 54 of file vector_altivec.h.

#define u32x4_splat (   i)    ((u32x4) __builtin_altivec_vspltisw (i))

Definition at line 51 of file vector_altivec.h.

#define u32x4_splat_word (   x,
  i 
)    ((u32x4) __builtin_altivec_vspltw ((i32x4) (x), (i)))

Definition at line 56 of file vector_altivec.h.

Function Documentation

vslo vsro vslo static vsro u32 u32x4_get0 ( u32x4  x)
inlinestatic

Definition at line 102 of file vector_altivec.h.

+ Here is the caller graph for this function:

static u32x4 u32x4_is_zero ( u32x4  x)
inlinestatic

Definition at line 153 of file vector_altivec.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 u32x4_zero_byte_mask ( u32x4  x)
inlinestatic

Definition at line 160 of file vector_altivec.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vmrglw vmrglh vmrghw hi

Definition at line 119 of file vector_altivec.h.

vslo vsro vslo i16

Definition at line 97 of file vector_altivec.h.

vmrglw vmrglh vmrghw i16x8

Definition at line 117 of file vector_altivec.h.

vslo i32

Definition at line 93 of file vector_altivec.h.

vmrglw vmrglh i32x4

Definition at line 115 of file vector_altivec.h.

is_equal

Definition at line 143 of file vector_altivec.h.

sll srl srl left

Definition at line 93 of file vector_altivec.h.

vmrglw lo

Definition at line 115 of file vector_altivec.h.

sll srl srl sll right

Definition at line 95 of file vector_altivec.h.