fix another way 538/head
authormerlokk <olegmsn@gmail.com>
Sat, 6 Jan 2018 17:14:34 +0000 (19:14 +0200)
committermerlokk <olegmsn@gmail.com>
Sat, 6 Jan 2018 17:14:34 +0000 (19:14 +0200)
client/Makefile
client/hardnested/hardnested_bruteforce.c

index 0cda2b184d078a8506a55580461734b28bcf9290..52a106bd454d9ebe55f08e9d5939ae53cd97f2a1 100644 (file)
@@ -207,7 +207,7 @@ MULTIARCHOBJS = $(MULTIARCHSRCS:%.c=$(OBJDIR)/%_NOSIMD.o) \
 SUPPORTS_AVX512 :=  $(shell echo | gcc -E -mavx512f - > /dev/null 2>&1 && echo "True" )
 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
index 718b7c5d518ad1214ab58a4bc080fe5b2adf2da7..3072fc52ddef35b07e4a07988bcd8f6701b31a29 100644 (file)
@@ -140,7 +140,7 @@ bool verify_key(uint32_t cuid, noncelist_t *nonces, uint8_t *best_first_bytes, u
 }
 
 
-static void* crack_states_thread(void* x){
+static void* __attribute__((force_align_arg_pointer)) crack_states_thread(void* x){
 
        struct arg {
                bool silent;
Impressum, Datenschutz