diff options
| author | bunnei <bunneidev@gmail.com> | 2022-03-11 17:26:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 17:26:41 -0800 |
| commit | 27cc7b6a73121ff7d467772da460a9ca85cd85bc (patch) | |
| tree | a0bc65a2fba8947a7235de75394a93a4283cd101 /src/common/x64/cpu_detect.h | |
| parent | 5c74dd6462feba358fa7facfc5d1845439227ecb (diff) | |
| parent | d248c1203ea15992e6ca3a087a02fac76490deba (diff) | |
Merge pull request #7997 from Wunkolo/cpu_detect_more
cpu_detect: Add additional x86 flags and telemetry
Diffstat (limited to 'src/common/x64/cpu_detect.h')
| -rw-r--r-- | src/common/x64/cpu_detect.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.h index 3e6d808f3..40c48b132 100644 --- a/src/common/x64/cpu_detect.h +++ b/src/common/x64/cpu_detect.h @@ -35,16 +35,31 @@ struct CPUCaps { bool ssse3 : 1; bool sse4_1 : 1; bool sse4_2 : 1; - bool lzcnt : 1; + bool avx : 1; + bool avx_vnni : 1; bool avx2 : 1; - bool avx512 : 1; + bool avx512f : 1; + bool avx512dq : 1; + bool avx512cd : 1; + bool avx512bw : 1; + bool avx512vl : 1; + bool avx512vbmi : 1; + bool avx512bitalg : 1; + + bool aes : 1; bool bmi1 : 1; bool bmi2 : 1; + bool f16c : 1; bool fma : 1; bool fma4 : 1; - bool aes : 1; + bool gfni : 1; bool invariant_tsc : 1; + bool lzcnt : 1; + bool movbe : 1; + bool pclmulqdq : 1; + bool popcnt : 1; + bool sha : 1; }; /** |
