summaryrefslogtreecommitdiff
path: root/arch/x86/x86.h
blob: 8471e155cd8ba3a54fc40a563fa2f1005546df79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* cpu.h -- check for CPU features
* Copyright (C) 2013 Intel Corporation Jim Kukunas
* For conditions of distribution and use, see copyright notice in zlib.h
*/

#ifndef CPU_H_
#define CPU_H_

extern int x86_cpu_has_avx2;
extern int x86_cpu_has_sse2;
extern int x86_cpu_has_ssse3;
extern int x86_cpu_has_sse42;
extern int x86_cpu_has_pclmulqdq;
extern int x86_cpu_has_tzcnt;

void Z_INTERNAL x86_check_features(void);

#endif /* CPU_H_ */