On 9/14/21 12:55 PM, RĂ©mi Bernon wrote:
On 9/14/21 12:15 PM, Marvin wrote:
- guard it with #ifdef __SSE2__, and in that case now that we import
x86intrin.h we could use intel intrinsics instead of inline assembly,
I didn't check that __SSE2__ is not defined when i686-w64-mingw is used. I think that the SSE enabled version should be available in this case.
- or make it an external assembly function.
We can also consider moving the ERMS version to separate function to avoid using inline assembly.