I have four double-precision floating point numbers in a __m256d
double-precision floating point register. I want to convert them to four 32-bit integers and have the result be in a __m128i
single-precision integer register. I want the conversion to be the same as the C/C++ (int) casting:
int tmpInt = (int) tmpDouble;
What is the Intel SIMD instruction for this?