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

#define ARCH "${ARCH}"
#define CMAKE_ARCH_${ARCH} 1
#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