X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f950ce1cb993325c2f743f6215b4874ec2360fd1..e5baf1ef79f9e8faab9eb07b9afbfc4cd9c6c780:/client/cmdhfmfhard.c diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index ee46b79c..01dcc35d 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -69,7 +69,7 @@ static float brute_force_per_second; static void get_SIMD_instruction_set(char* instruction_set) { - #if (__GNUC__ > 4) + #if (__GNUC__ >= 5) && (__GNUC__ > 5 || __GNUC_MINOR__ > 2) if (__builtin_cpu_supports("avx512f")) strcpy(instruction_set, "AVX512F"); else if (__builtin_cpu_supports("avx2")) strcpy(instruction_set, "AVX2"); #else