diff --git a/secp256k1/abi.nim b/secp256k1/abi.nim index 9bb5528..9c78a0b 100644 --- a/secp256k1/abi.nim +++ b/secp256k1/abi.nim @@ -8,7 +8,11 @@ const srcPath = internalPath & "/src" when defined(amd64) and (defined(gcc) or defined(clang)): - const asmFlags = " -DUSE_ASM_X86_64" + ## Latest AMD CPUs (e.g. AMD Ryzen 7 PRO 7840U) seems does not support + ## such asm instructions used in secp256k1 + # const asmFlags = " -DUSE_ASM_X86_64" + ## This is just workarounds the issue to use the same path as for non AMD platforms + const asmFlags = "" else: const asmFlags = ""