]> git.proxmox.com Git - ceph.git/blob - ceph/src/erasure-code/jerasure/gf-complete/include/gf_cpu.h
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / erasure-code / jerasure / gf-complete / include / gf_cpu.h
1 /*
2 * GF-Complete: A Comprehensive Open Source Library for Galois Field Arithmetic
3 * James S. Plank, Ethan L. Miller, Kevin M. Greenan,
4 * Benjamin A. Arnold, John A. Burnum, Adam W. Disney, Allen C. McBride.
5 *
6 * gf_cpu.h
7 *
8 * Identifies whether the CPU supports SIMD instructions at runtime.
9 */
10
11 #pragma once
12
13 extern int gf_cpu_supports_intel_pclmul;
14 extern int gf_cpu_supports_intel_sse4;
15 extern int gf_cpu_supports_intel_ssse3;
16 extern int gf_cpu_supports_intel_sse3;
17 extern int gf_cpu_supports_intel_sse2;
18 extern int gf_cpu_supports_arm_neon;
19
20 void gf_cpu_identify(void);