doc.rust-lang.org
pub const fn _mm_maskz_max_epu32(k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Compare packed unsigned 32-bit integers in a and b, and store packed maximum values in dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_max_epi64(k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Compare packed signed 64-bit integers in a and b, and store packed maximum values in dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_max_epi32(k: __mmask8, a: __m128i, b: __m128i) -> __m128i
Compare packed signed 32-bit integers in a and b, and store packed maximum values in dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_loadu_ps(k: __mmask8, mem_addr: *const f32) -> __m128
Load packed single-precision (32-bit) floating-point elements from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_loadu_pd(k: __mmask8, mem_addr: *const f64) -> __m128d
Load packed double-precision (64-bit) floating-point elements from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_loadu_epi64(k: __mmask8, mem_addr: *const i64) -> __m128i
Load packed 64-bit integers from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_loadu_epi32(k: __mmask8, mem_addr: *const i32) -> __m128i
Load packed 32-bit integers from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr does not need to be aligned on any particular boundary.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_maskz_load_ss(k: __mmask8, mem_addr: *const f32) -> __m128
Load a single-precision (32-bit) floating-point element from memory into the lower element of dst using zeromask k (the element is zeroed out when mask bit 0 is not set), and set the upper 3 packed elements of dst to zero. mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn _mm_maskz_load_sd(k: __mmask8, mem_addr: *const f64) -> __m128d
Load a double-precision (64-bit) floating-point element from memory into the lower element of dst using zeromask k (the element is zeroed out when mask bit 0 is not set), and set the upper element of dst to zero. mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_load_ps(k: __mmask8, mem_addr: *const f32) -> __m128
Load packed single-precision (32-bit) floating-point elements from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_load_pd(k: __mmask8, mem_addr: *const f64) -> __m128d
Load packed double-precision (64-bit) floating-point elements from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_load_epi64(k: __mmask8, mem_addr: *const i64) -> __m128i
Load packed 64-bit integers from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const unsafe fn _mm_maskz_load_epi32(k: __mmask8, mem_addr: *const i32) -> __m128i
Load packed 32-bit integers from memory into dst using zeromask k (elements are zeroed out when the corresponding mask bit is not set). mem_addr must be aligned on a 16-byte boundary or a general-protection exception may be generated.
function
core
Stable since 1.89.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_getmant_ss(k: __mmask8, 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 using zeromask k (the element is zeroed out when mask bit 0 is not set), 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_maskz_getmant_sd(k: __mmask8, 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 using zeromask k (the element is zeroed out when mask bit 0 is not set), 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_maskz_getmant_round_ss(k: __mmask8, 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 using zeromask k (the element is zeroed out when mask bit 0 is not set), 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_maskz_getmant_round_sd(k: __mmask8, 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 using zeromask k (the element is zeroed out when mask bit 0 is not set), 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_maskz_getmant_ps(k: __mmask8, 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 using zeromask k (elements are zeroed out when the corresponding mask bit is not set). 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_maskz_getmant_pd(k: __mmask8, 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 using zeromask k (elements are zeroed out when the corresponding mask bit is not set). 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_maskz_getexp_ss(k: __mmask8, 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 using zeromask k (the element is zeroed out when mask bit 0 is not set), 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