Merge pull request #1725 from SChernykh/dev

Disabled AVX-512F for Argon2
This commit is contained in:
xmrig 2020-06-09 19:16:38 +07:00 committed by GitHub
commit 3472bd9f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -309,7 +309,10 @@ void xmrig_ar2_fill_segment_avx512f(const argon2_instance_t *instance, argon2_po
}
extern int cpu_flags_has_avx512f(void);
int xmrig_ar2_check_avx512f(void) { return cpu_flags_has_avx512f(); }
// Argon2 AVX-512F implementation is broken
// TODO: enable it back when it's fixed
int xmrig_ar2_check_avx512f(void) { return 0 /*cpu_flags_has_avx512f()*/; }
#else