diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/arch/intel.h | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/arch/intel.h')
-rw-r--r-- | src/arch/intel.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/arch/intel.h b/src/arch/intel.h new file mode 100644 index 00000000..3f4ae948 --- /dev/null +++ b/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 |