I never messed with x87 much because it was a ridiculous mess) / AVX but casting to an integer and back will invoke FISTTP (SSSE3 but operating on x87 stack) / FISTP if the floating point x87 stack is in use and cause this rounding, or the SSE2 CVTTSD2SI can convert a double ...
This would provide other benefits ("free" access to AVX512 without writing additional code using the auto-vectorizers, support for any processor architecture) but although it's not something I think would be very complicated given the scope of the language I worked on that compiler system for ...
This would provide other benefits ("free" access to AVX512 without writing additional code using the auto-vectorizers, support for any processor architecture) but although it's not something I think would be very complicated given the scope of the language I worked on that compiler system for ...