X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Farch%2Fintel.h;fp=src%2Fceph%2Fsrc%2Farch%2Fintel.h;h=3f4ae9482c046db66419998a2320c8295fe0d4af;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/arch/intel.h b/src/ceph/src/arch/intel.h new file mode 100644 index 0000000..3f4ae94 --- /dev/null +++ b/src/ceph/src/arch/intel.h @@ -0,0 +1,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