FIX: solution one, for more avx, avx2, avx512

ab0582d672
This commit is contained in:
iceman1001 2018-01-06 18:52:28 +01:00
parent cd1f5a58f5
commit 5dc1761943
2 changed files with 2 additions and 4 deletions

View file

@ -223,7 +223,7 @@ SUPPORTS_AVX512 := $(shell echo | gcc -E -mavx512f - > /dev/null 2>&1 && echo "
HARD_SWITCH_NOSIMD = -mno-mmx -mno-sse2 -mno-avx -mno-avx2
HARD_SWITCH_MMX = -mmmx -mno-sse2 -mno-avx -mno-avx2
HARD_SWITCH_SSE2 = -mmmx -msse2 -mno-avx -mno-avx2 -mstackrealign
HARD_SWITCH_SSE2 = -mmmx -msse2 -mno-avx -mno-avx2
HARD_SWITCH_AVX = -mmmx -msse2 -mavx -mno-avx2
HARD_SWITCH_AVX2 = -mmmx -msse2 -mavx -mavx2
HARD_SWITCH_AVX512 = -mmmx -msse2 -mavx -mavx2 -mavx512f

View file

@ -139,9 +139,7 @@ bool verify_key(uint32_t cuid, noncelist_t *nonces, uint8_t *best_first_bytes, u
return true;
}
static void* crack_states_thread(void* x){
static void* __attribute__((force_align_arg_pointer)) crack_states_thread(void* x){
struct arg {
bool silent;
int thread_ID;