On Tue Jun 17 17:52:47 2025 +0000, Piotr Caban wrote:
I have pushed the fix. It would be good to optimize the function when clang is used. "Old" implementation used to work with clang because it's using sse instructions. Is it something we can determine easily / depend on?
`__SSE_MATH__` indicates that the compiler will emit SSE instructions for floating-point math (also supported by GCC).
This is the default behavior in Clang. We could adjust the compiler options in the configure script to enable it on GCC as well (or disable it in Clang) for consistency across compilers.