Hi,

Due to a bug in the BMI2 detection in mpn/x86_64/fat/fat.c (missing load of
the correct CPUID register) the codepath with the BMI2 and ADX instructions
(_coreihwl and _coreibwl suffix) is never being used in fat binaries.
Fixing it gave me a large performance boost. See attached patch.

(Please reply also directly to me, I'm not subscribed to the list.)


Best regards,

Sven

Attachment: libgmp-fat.patch
Description: Binary data

_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to