Closed ambiso closed 1 year ago
On the AMD Ryzen 5900X (and potentially the entire Zen 3 series) vpclmul is supported but avx512 is not.
A simple fix could be to change line 157 in include/internal/gf2x_internal.h from:
include/internal/gf2x_internal.h
if(is_vpclmul_enabled()) {
to
if(is_vpclmul_enabled() && is_avx512_enabled()) {
Without this change I get:
[1] 10556 illegal hardware instruction (core dumped) ./bike-test
Hi, thanks for reporting this. Not sure what's going on an AMD processors, but on Intel vpclmul does imply avx512 support. I'll add the suggested fix anyway.
vpclmul
avx512
On the AMD Ryzen 5900X (and potentially the entire Zen 3 series) vpclmul is supported but avx512 is not.
A simple fix could be to change line 157 in
include/internal/gf2x_internal.h
from:to
Without this change I get: