mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-03 13:22:37 +00:00
22 lines
366 B
C
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
|