When compiled with Rust for x86-64 or x86-64-v2 (using -C target-cpu=x86-64-v2) that do not include those instructions, library still builds them and then crashes in runtime on Haswell CPUs that are perfectly capable of running either of those instruction sets otherwise. This regression happened when we integrated blst into our codebase and tracked it down to the library.
Library should honor platform choice of the user rather than using unsupported instructions.
When compiled with Rust for x86-64 or x86-64-v2 (using
-C target-cpu=x86-64-v2
) that do not include those instructions, library still builds them and then crashes in runtime on Haswell CPUs that are perfectly capable of running either of those instruction sets otherwise. This regression happened when we integratedblst
into our codebase and tracked it down to the library.Library should honor platform choice of the user rather than using unsupported instructions.