1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-06 06:42:35 +00:00
hashcat/include/cpu_features.h
2025-06-04 10:41:24 +02:00

25 lines
417 B
C

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef HC_CPU_FEATURES_H
#define HC_CPU_FEATURES_H
#include <stdio.h>
#if defined(__x86_64__) || defined(_M_X64)
#include <cpuid.h>
#endif
// 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