aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/platform_config.h.in
blob: b71306e997aa298302025e5e9b4b1b40142179c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PLATFORM_H_CONFIG
#define PLATFORM_H_CONFIG

#define ARCH ${ARCH}
#cmakedefine HAVE_AVX2	1
#cmakedefine HAVE_AVX	1
#cmakedefine HAVE_SSE2	1
#cmakedefine HAVE_SSE41	1
#cmakedefine HAVE_SSE3	1
#cmakedefine HAVE_SSSE3	1
#cmakedefine HAVE_SLASHMACRO 1
#cmakedefine HAVE_DOLLARMACRO 1

#define CPUID_AVX2 0x1
#define CPUID_AVX 0x2
#define CPUID_SSE2 0x4
#define CPUID_SSE3 0x8
#define CPUID_SSSE3 0x10
#define CPUID_SSE41 0x20

#endif