From 09903384fa96dc097953a9c9a92f2bae8b90e7f2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 12 May 2020 00:25:44 +0200 Subject: [PATCH] fix osx --- client/deps/hardnested/hardnested_bf_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/deps/hardnested/hardnested_bf_core.c b/client/deps/hardnested/hardnested_bf_core.c index 1fa7626e4..db0eee1d2 100644 --- a/client/deps/hardnested/hardnested_bf_core.c +++ b/client/deps/hardnested/hardnested_bf_core.c @@ -591,11 +591,11 @@ uint64_t crack_states_bitsliced_dispatch(uint32_t cuid, uint8_t *best_first_byte switch (GetSIMDInstrAuto()) { #if defined (__i386__) || defined (__x86_64__) #if !defined(__APPLE__) || (defined(__APPLE__) && (__clang_major__ > 8 || __clang_major__ == 8 && __clang_minor__ >= 1)) -#if (__GNUC__ >= 5) && (__GNUC__ > 5 || __GNUC_MINOR__ > 2) case SIMD_AVX512: +#if (__GNUC__ >= 5) && (__GNUC__ > 5 || __GNUC_MINOR__ > 2) crack_states_bitsliced_function_p = &crack_states_bitsliced_AVX512; - break; #endif + break; case SIMD_AVX2: crack_states_bitsliced_function_p = &crack_states_bitsliced_AVX2; break;