1 #ifndef INCLUDED_LIBVOLK_COMMON_H
2 #define INCLUDED_LIBVOLK_COMMON_H
8 # define __VOLK_ATTR_ALIGNED(x) __attribute__((aligned(x)))
9 # define __VOLK_ATTR_UNUSED __attribute__((unused))
10 # define __VOLK_ATTR_INLINE __attribute__((always_inline))
11 # define __VOLK_ATTR_DEPRECATED __attribute__((deprecated))
13 # define __VOLK_ATTR_EXPORT __attribute__((visibility("default")))
14 # define __VOLK_ATTR_IMPORT __attribute__((visibility("default")))
16 # define __VOLK_ATTR_EXPORT
17 # define __VOLK_ATTR_IMPORT
20 # define __VOLK_ATTR_ALIGNED(x) __declspec(align(x))
21 # define __VOLK_ATTR_UNUSED
22 # define __VOLK_ATTR_INLINE __forceinline
23 # define __VOLK_ATTR_DEPRECATED __declspec(deprecated)
24 # define __VOLK_ATTR_EXPORT __declspec(dllexport)
25 # define __VOLK_ATTR_IMPORT __declspec(dllimport)
27 # define __VOLK_ATTR_ALIGNED(x)
28 # define __VOLK_ATTR_UNUSED
29 # define __VOLK_ATTR_INLINE
30 # define __VOLK_ATTR_DEPRECATED
31 # define __VOLK_ATTR_EXPORT
32 # define __VOLK_ATTR_IMPORT
39 # pragma warning(disable: 4244) //'conversion' conversion from 'type1' to 'type2', possible loss of data
40 # pragma warning(disable: 4305) //'identifier' : truncation from 'type1' to 'type2'
47 #if defined(__cplusplus) && (__GNUC__)
48 # define __VOLK_DECL_BEGIN extern "C" {
49 # define __VOLK_DECL_END }
51 # define __VOLK_DECL_BEGIN
52 # define __VOLK_DECL_END
60 # define VOLK_API __VOLK_ATTR_EXPORT
62 # define VOLK_API __VOLK_ATTR_IMPORT
71 #include <xmmintrin.h>
75 #include <emmintrin.h>
94 #define bit128_p(x) ((union bit128 *)(x))
uint16_t i16[8]
Definition: volk_common.h:79
unsigned short uint16_t
Definition: stdint.h:79
unsigned int uint32_t
Definition: stdint.h:80
double d[2]
Definition: volk_common.h:82
float f[4]
Definition: volk_common.h:81
Definition: volk_common.h:78
uint32_t i[4]
Definition: volk_common.h:80