1 /* x86_features.h -- check for CPU features
2 * Copyright (C) 2013 Intel Corporation Jim Kukunas
3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */
5 
6 #ifndef X86_FEATURES_H_
7 #define X86_FEATURES_H_
8 
9 extern int x86_cpu_has_avx2;
10 extern int x86_cpu_has_avx512;
11 extern int x86_cpu_has_avx512vnni;
12 extern int x86_cpu_has_sse2;
13 extern int x86_cpu_has_ssse3;
14 extern int x86_cpu_has_sse41;
15 extern int x86_cpu_has_sse42;
16 extern int x86_cpu_has_pclmulqdq;
17 extern int x86_cpu_has_vpclmulqdq;
18 extern int x86_cpu_has_tzcnt;
19 
20 void Z_INTERNAL x86_check_features(void);
21 
22 #endif /* CPU_H_ */
23