Function _mm_cvt_roundsd_ss

1.89.0 · Source
pub fn _mm_cvt_roundsd_ss(a: __m128, b: __m128d, const ROUNDING: i32) -> __m128
Available on (x86 or x86-64) and target feature avx512f and x86 only.
Expand description

Convert the lower double-precision (64-bit) floating-point element in b to a single-precision (32-bit) floating-point element, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst.
Rounding is done according to the rounding[3:0] parameter, which can be one of:\

Intel’s documentation