doc.rust-lang.org
pub unsafe fn _mm_i64scatter_epi32(base_addr: *mut i32, vindex: __m128i, a: __m128i, SCALE: i32)
Stores 2 32-bit integer elements from a to memory starting at location base_addr at packed 64-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_i32scatter_ps(base_addr: *mut f32, vindex: __m128i, a: __m128, SCALE: i32)
Stores 4 single-precision (32-bit) floating-point elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_i32scatter_pd(base_addr: *mut f64, vindex: __m128i, a: __m128d, SCALE: i32)
Stores 2 double-precision (64-bit) floating-point elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_i32scatter_epi64(base_addr: *mut i64, vindex: __m128i, a: __m128i, SCALE: i32)
Stores 2 64-bit integer elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_i32scatter_epi32(base_addr: *mut i32, vindex: __m128i, a: __m128i, SCALE: i32)
Stores 4 32-bit integer elements from a to memory starting at location base_addr at packed 32-bit integer indices stored in vindex scaled by scale
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_ss(a: __m128, b: __m128, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m128
Normalize the mantissas of the lower single-precision (32-bit) floating-point element in b, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_sd(a: __m128d, b: __m128d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m128d
Normalize the mantissas of the lower double-precision (64-bit) floating-point element in b, store the result in the lower element of dst, and copy the upper element from a to the upper element of dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_round_ss(a: __m128, b: __m128, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM, SAE: i32) -> __m128
Normalize the mantissas of the lower single-precision (32-bit) floating-point element in b, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_round_sd(a: __m128d, b: __m128d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM, SAE: i32) -> __m128d
Normalize the mantissas of the lower double-precision (64-bit) floating-point element in b, store the result in the lower element of dst, and copy the upper element from a to the upper element of dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_ps(a: __m128, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m128
Normalize the mantissas of packed single-precision (32-bit) floating-point elements in a, and store the results in dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign. The mantissa is normalized to the interval specified by interv, which can take the following values: _MM_MANT_NORM_1_2 // interval [1, 2) _MM_MANT_NORM_p5_2 // interval [0.5, 2) _MM_MANT_NORM_p5_1 // interval [0.5, 1) _MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5) The sign is determined by sc which can take the following values: _MM_MANT_SIGN_src // sign = sign(src) _MM_MANT_SIGN_zero // sign = 0 _MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getmant_pd(a: __m128d, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m128d
Normalize the mantissas of packed double-precision (64-bit) floating-point elements in a, and store the results in dst. This intrinsic essentially calculates ±(2^k)*|x.significand|, where k depends on the interval range defined by interv and the sign depends on sc and the source sign.The mantissa is normalized to the interval specified by interv, which can take the following values:_MM_MANT_NORM_1_2 // interval [1, 2)_MM_MANT_NORM_p5_2 // interval [0.5, 2)_MM_MANT_NORM_p5_1 // interval [0.5, 1)_MM_MANT_NORM_p75_1p5 // interval [0.75, 1.5)The sign is determined by sc which can take the following values:_MM_MANT_SIGN_src // sign = sign(src)_MM_MANT_SIGN_zero // sign = 0_MM_MANT_SIGN_nan // dst = NaN if sign(src) = 1
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_ss(a: __m128, b: __m128) -> __m128
Convert the exponent of the lower single-precision (32-bit) floating-point element in b to a single-precision (32-bit) floating-point number representing the integer exponent, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst. This intrinsic essentially calculates floor(log2(x)) for the lower element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_sd(a: __m128d, b: __m128d) -> __m128d
Convert the exponent of the lower double-precision (64-bit) floating-point element in b to a double-precision (64-bit) floating-point number representing the integer exponent, store the result in the lower element of dst, and copy the upper element from a to the upper element of dst. This intrinsic essentially calculates floor(log2(x)) for the lower element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_round_ss(a: __m128, b: __m128, SAE: i32) -> __m128
Convert the exponent of the lower single-precision (32-bit) floating-point element in b to a single-precision (32-bit) floating-point number representing the integer exponent, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst. This intrinsic essentially calculates floor(log2(x)) for the lower element.Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_round_sd(a: __m128d, b: __m128d, SAE: i32) -> __m128d
Convert the exponent of the lower double-precision (64-bit) floating-point element in b to a double-precision (64-bit) floating-point number representing the integer exponent, store the result in the lower element of dst, and copy the upper element from a to the upper element of dst. This intrinsic essentially calculates floor(log2(x)) for the lower element.Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_ps(a: __m128) -> __m128
Convert the exponent of each packed single-precision (32-bit) floating-point element in a to a single-precision (32-bit) floating-point number representing the integer exponent, and store the results in dst. This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_getexp_pd(a: __m128d) -> __m128d
Convert the exponent of each packed double-precision (64-bit) floating-point element in a to a double-precision (64-bit) floating-point number representing the integer exponent, and store the results in dst. This intrinsic essentially calculates floor(log2(x)) for each element.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_fnmsub_round_ss(a: __m128, b: __m128, c: __m128, ROUNDING: i32) -> __m128
Multiply the lower single-precision (32-bit) floating-point elements in a and b, subtract the lower element in c from the negated intermediate result, store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst.\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_fnmsub_round_sd(a: __m128d, b: __m128d, c: __m128d, ROUNDING: i32) -> __m128d
Multiply the lower double-precision (64-bit) floating-point elements in a and b, and subtract the lower element in c from the negated intermediate result. Store the result in the lower element of dst, and copy the upper element from a to the upper element of dst.\
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_fnmadd_round_ss(a: __m128, b: __m128, c: __m128, ROUNDING: i32) -> __m128
Multiply the lower single-precision (32-bit) floating-point elements in a and b, and add the negated intermediate result to the lower element in c. Store the result in the lower element of dst, and copy the upper 3 packed elements from a to the upper elements of dst.\
function
core
Stable since 1.89.0
Version 1.100.0-nightly