sse, sse2: add range checks to several conversion functions
For value outside of (INT32_MIN, INT32_MAX), as well as NaNs, x86 returns INT32_MIN. I added a SIMDE_FAST_CONVERSION_RANGE macro (which is defined by default if SIMDE_FAST_MATH is defined) to opt-out of the more accurate behavior since it's also substantially slower on many platforms. Fixes #685
Showing
Please register or sign in to comment