summaryrefslogtreecommitdiffstats
path: root/src/arch/intel.h
blob: 3f4ae9482c046db66419998a2320c8295fe0d4af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef CEPH_ARCH_INTEL_H
#define CEPH_ARCH_INTEL_H

#ifdef __cplusplus
extern "C" {
#endif

extern int ceph_arch_intel_pclmul; /* true if we have PCLMUL features */
extern int ceph_arch_intel_sse42;  /* true if we have sse 4.2 features */
extern int ceph_arch_intel_sse41;  /* true if we have sse 4.1 features */
extern int ceph_arch_intel_ssse3;  /* true if we have ssse 3 features */
extern int ceph_arch_intel_sse3;   /* true if we have sse 3 features */
extern int ceph_arch_intel_sse2;   /* true if we have sse 2 features */
extern int ceph_arch_intel_aesni;  /* true if we have aesni features */

extern int ceph_arch_intel_probe(void);

#ifdef __cplusplus
}
#endif

#endif