DPDK  19.08.0-rc0
rte_vect.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2016 6WIND S.A.
3  */
4 
5 #ifndef _RTE_VECT_H_
6 #define _RTE_VECT_H_
7 
15 #include <stdint.h>
16 
17 /* Unsigned vector types */
18 
24 typedef uint8_t rte_v64u8_t __attribute__((vector_size(8), aligned(8)));
25 
31 typedef uint16_t rte_v64u16_t __attribute__((vector_size(8), aligned(8)));
32 
38 typedef uint32_t rte_v64u32_t __attribute__((vector_size(8), aligned(8)));
39 
46 typedef uint8_t rte_v128u8_t __attribute__((vector_size(16), aligned(16)));
47 
53 typedef uint16_t rte_v128u16_t __attribute__((vector_size(16), aligned(16)));
54 
60 typedef uint32_t rte_v128u32_t __attribute__((vector_size(16), aligned(16)));
61 
67 typedef uint64_t rte_v128u64_t __attribute__((vector_size(16), aligned(16)));
68 
77 typedef uint8_t rte_v256u8_t __attribute__((vector_size(32), aligned(32)));
78 
85 typedef uint16_t rte_v256u16_t __attribute__((vector_size(32), aligned(32)));
86 
92 typedef uint32_t rte_v256u32_t __attribute__((vector_size(32), aligned(32)));
93 
99 typedef uint64_t rte_v256u64_t __attribute__((vector_size(32), aligned(32)));
100 
101 
102 /* Signed vector types */
103 
109 typedef int8_t rte_v64s8_t __attribute__((vector_size(8), aligned(8)));
110 
116 typedef int16_t rte_v64s16_t __attribute__((vector_size(8), aligned(8)));
117 
123 typedef int32_t rte_v64s32_t __attribute__((vector_size(8), aligned(8)));
124 
131 typedef int8_t rte_v128s8_t __attribute__((vector_size(16), aligned(16)));
132 
138 typedef int16_t rte_v128s16_t __attribute__((vector_size(16), aligned(16)));
139 
145 typedef int32_t rte_v128s32_t __attribute__((vector_size(16), aligned(16)));
146 
152 typedef int64_t rte_v128s64_t __attribute__((vector_size(16), aligned(16)));
153 
162 typedef int8_t rte_v256s8_t __attribute__((vector_size(32), aligned(32)));
163 
170 typedef int16_t rte_v256s16_t __attribute__((vector_size(32), aligned(32)));
171 
177 typedef int32_t rte_v256s32_t __attribute__((vector_size(32), aligned(32)));
178 
184 typedef int64_t rte_v256s64_t __attribute__((vector_size(32), aligned(32)));
185 
186 #endif /* _RTE_VECT_H_ */
int64_t rte_v256s64_t
Definition: rte_vect.h:184
uint32_t rte_v64u32_t
Definition: rte_vect.h:38
uint8_t rte_v64u8_t
Definition: rte_vect.h:24
uint64_t rte_v256u64_t
Definition: rte_vect.h:99
int8_t rte_v64s8_t
Definition: rte_vect.h:109
uint32_t rte_v256u32_t
Definition: rte_vect.h:92
int32_t rte_v128s32_t
Definition: rte_vect.h:145
uint8_t rte_v128u8_t
Definition: rte_vect.h:46
int16_t rte_v256s16_t
Definition: rte_vect.h:170
int64_t rte_v128s64_t
Definition: rte_vect.h:152
int16_t rte_v128s16_t
Definition: rte_vect.h:138
int32_t rte_v64s32_t
Definition: rte_vect.h:123
uint16_t rte_v64u16_t
Definition: rte_vect.h:31
uint8_t rte_v256u8_t
Definition: rte_vect.h:77
int32_t rte_v256s32_t
Definition: rte_vect.h:177
int8_t rte_v256s8_t
Definition: rte_vect.h:162
uint64_t rte_v128u64_t
Definition: rte_vect.h:67
int8_t rte_v128s8_t
Definition: rte_vect.h:131
uint16_t rte_v256u16_t
Definition: rte_vect.h:85
int16_t rte_v64s16_t
Definition: rte_vect.h:116
uint32_t rte_v128u32_t
Definition: rte_vect.h:60
uint16_t rte_v128u16_t
Definition: rte_vect.h:53