doc.rust-lang.org
pub fn _mm_maskz_getmant_round_sh(k: __mmask8, a: __m128h, b: __m128h, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM, SAE: i32) -> __m128h
Normalize the mantissas of the lower half-precision (16-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 7 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 norm and the sign depends on sign and the source sign. Exceptions can be suppressed by passing _MM_FROUND_NO_EXC in the sae parameter
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_getmant_ph(k: __mmask8, a: __m128h, NORM: _MM_MANTISSA_NORM_ENUM, SIGN: _MM_MANTISSA_SIGN_ENUM) -> __m128h
Normalize the mantissas of packed half-precision (16-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 norm and the sign depends on sign and the source sign.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_getexp_sh(k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Convert the exponent of the lower half-precision (16-bit) floating-point element in b to a half-precision (16-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 7 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.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_getexp_round_sh(k: __mmask8, a: __m128h, b: __m128h, SAE: i32) -> __m128h
Convert the exponent of the lower half-precision (16-bit) floating-point element in b to a half-precision (16-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 7 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.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_getexp_ph(k: __mmask8, a: __m128h) -> __m128h
Convert the exponent of each packed half-precision (16-bit) floating-point element in a to a half-precision (16-bit) floating-point number representing the integer exponent, 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 floor(log2(x)) for each element.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fnmsub_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract the intermediate result from the lower element in c. Store the result in the lower element of dst using zeromask k (the element is zeroed out when the mask bit 0 is not set), and copy the upper 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fnmsub_round_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h, ROUNDING: i32) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract the intermediate result from the lower element in c. Store the result in the lower element of dst using zeromask k (the element is zeroed out when the mask bit 0 is not set), and copy the upper 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fnmsub_ph(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply packed half-precision (16-bit) floating-point elements in a and b, subtract packed elements in c from the negated intermediate result, and store the results in dst using zeromask k (the element is zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fnmadd_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract the intermediate result from the lower element in c. Store the result in the lower element of dst using zeromask k (the element is zeroed out when the mask bit 0 is not set), and copy the upper 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fnmadd_round_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h, ROUNDING: i32) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract the intermediate result from the lower element in c. Store the result in the lower element of dst using zeromask k (the element is zeroed out when the mask bit 0 is not set), and copy the upper 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fnmadd_ph(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply packed half-precision (16-bit) floating-point elements in a and b, subtract the intermediate result from packed elements in c, and store the results in dst using zeromask k (the element is zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fmul_sch(k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Multiply the lower complex numbers in a and b, and store the results in dst using zeromask k (the element is zeroed out when mask bit 0 is not set). Each complex number is composed of two adjacent half-precision (16-bit) floating-point elements, which defines the complex number complex = vec.fp16[0] + i * vec.fp16[1].
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fmul_round_sch(k: __mmask8, a: __m128h, b: __m128h, ROUNDING: i32) -> __m128h
Multiply the lower complex numbers in a and b, and store the results in dst using zeromask k (the element is zeroed out when mask bit 0 is not set). Each complex number is composed of two adjacent half-precision (16-bit) floating-point elements, which defines the complex number complex = vec.fp16[0] + i * vec.fp16[1].
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fmul_pch(k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Multiply packed complex numbers in a and b, and store the results in dst using zeromask k (the element is zeroed out when corresponding mask bit is not set). Each complex number is composed of two adjacent half-precision (16-bit) floating-point elements, which defines the complex number complex = vec.fp16[0] + i * vec.fp16[1].
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fmsubadd_ph(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply packed half-precision (16-bit) floating-point elements in a and b, alternatively subtract and add packed elements in c to/from the intermediate result, and store the results in dst using zeromask k (the element is zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fmsub_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract packed elements in c from the intermediate result. 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 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_maskz_fmsub_round_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h, ROUNDING: i32) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and subtract packed elements in c from the intermediate result. 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 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fmsub_ph(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply packed half-precision (16-bit) floating-point elements in a and b, subtract packed elements in c from the intermediate result, and store the results in dst using zeromask k (the element is zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fmaddsub_ph(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply packed half-precision (16-bit) floating-point elements in a and b, alternatively add and subtract packed elements in c to/from the intermediate result, and store the results in dst using zeromask k (the element is zeroed out when the corresponding mask bit is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_maskz_fmadd_sh(k: __mmask8, a: __m128h, b: __m128h, c: __m128h) -> __m128h
Multiply the lower half-precision (16-bit) floating-point elements in a and b, and add the intermediate result to the lower element in c. 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 7 packed elements from a to the upper elements of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly