1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-03 13:22:37 +00:00
hashcat/include/cpu_features.h
Jens Steube 3d4901a60c - Add CPU SIMD detection at runtime, relevant for bridge plugins
- Update BUILD_WSL.md document, add preparation for python bridge
2025-06-04 10:09:44 +02:00

22 lines
366 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef HC_CPU_FEATURES_H
#define HC_CPU_FEATURES_H
#include <stdio.h>
#include <cpuid.h>
// SIMD detection
int cpu_supports_sse2 ();
int cpu_supports_ssse3 ();
int cpu_supports_xop ();
int cpu_supports_avx2 ();
int cpu_supports_avx512f ();
int cpu_chipset_test ();
#endif // HC_CPU_FEATURES_H