doc.rust-lang.org
pub fn _mm_mask_cvtepu64_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed unsigned 64-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst when the corresponding mask bit is not set). The upper 96 bits of dst are zeroed out.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cvtepu32_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed unsigned 32-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst when the corresponding mask bit is not set). The upper 64 bits of dst are zeroed out.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cvtepu16_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed unsigned 16-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst 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_mask_cvtepi64_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed signed 64-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst when the corresponding mask bit is not set). The upper 96 bits of dst are zeroed out.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cvtepi32_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed signed 32-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst when the corresponding mask bit is not set). The upper 64 bits of dst are zeroed out.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cvtepi16_ph(src: __m128h, k: __mmask8, a: __m128i) -> __m128h
Convert packed signed 16-bit integers in a to packed half-precision (16-bit) floating-point elements, and store the results in dst using writemask k (elements are copied from src to dst 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_mask_cvt_roundss_sh(src: __m128h, k: __mmask8, a: __m128h, b: __m128, ROUNDING: i32) -> __m128h
Convert the lower single-precision (32-bit) floating-point element in b to a half-precision (16-bit) floating-point elements, store the result in the lower element of dst using writemask k (the element if copied from src 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_mask_cvt_roundsh_ss(src: __m128, k: __mmask8, a: __m128, b: __m128h, SAE: i32) -> __m128
Convert the lower half-precision (16-bit) floating-point element in b to a single-precision (32-bit) floating-point element, store the result in the lower element of dst using writemask k (the element is copied from src to dst when mask bit 0 is not set), and copy the upper 3 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_mask_cvt_roundsh_sd(src: __m128d, k: __mmask8, a: __m128d, b: __m128h, SAE: i32) -> __m128d
Convert the lower half-precision (16-bit) floating-point element in b to a double-precision (64-bit) floating-point element, store the result in the lower element of dst using writemask k (the element is copied from src to dst when mask bit 0 is not set), and copy the upper element from a to the upper element of dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cvt_roundsd_sh(src: __m128h, k: __mmask8, a: __m128h, b: __m128d, ROUNDING: i32) -> __m128h
Convert the lower double-precision (64-bit) floating-point element in b to a half-precision (16-bit) floating-point elements, store the result in the lower element of dst using writemask k (the element if copied from src 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_mask_conj_pch(src: __m128h, k: __mmask8, a: __m128h) -> __m128h
Compute the complex conjugates of complex numbers in a, and store the results in dst using writemask k (the element is copied from src 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], or the complex conjugate conjugate = 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_mask_cmul_sch(src: __m128h, k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Multiply the lower complex numbers in a by the complex conjugates of the lower complex numbers in b, and store the results in dst using writemask k (the element is copied from src 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_mask_cmul_round_sch(src: __m128h, k: __mmask8, a: __m128h, b: __m128h, ROUNDING: i32) -> __m128h
Multiply the lower complex numbers in a by the complex conjugates of the lower complex numbers in b, and store the results in dst using writemask k (the element is copied from src 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], or the complex conjugate conjugate = 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_mask_cmul_pch(src: __m128h, k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Multiply packed complex numbers in a by the complex conjugates of packed complex numbers in b, and store the results in dst using writemask k (the element is copied from src 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], or the complex conjugate conjugate = 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_mask_cmp_sh_mask(k1: __mmask8, a: __m128h, b: __m128h, IMM5: i32) -> __mmask8
Compare the lower half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and store the result in mask vector k using zeromask k1.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_cmp_round_sh_mask(k1: __mmask8, a: __m128h, b: __m128h, IMM5: i32, SAE: i32) -> __mmask8
Compare the lower half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and store the result in mask vector k using zeromask k1. 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_mask_cmp_ph_mask(k1: __mmask8, a: __m128h, b: __m128h, IMM5: i32) -> __mmask8
Compare packed half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and store the results in mask vector k using zeromask k (elements are 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_mask_blend_ph(k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Blend packed half-precision (16-bit) floating-point elements from a and b using control mask k, and store the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_mask_add_sh(src: __m128h, k: __mmask8, a: __m128h, b: __m128h) -> __m128h
Add the lower half-precision (16-bit) floating-point elements in a and b, store the result in the lower element of dst, and copy the upper 7 packed elements from a to the upper elements of dst using writemask k (the element is copied from src when mask bit 0 is not set).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_mask_add_round_sh(src: __m128h, k: __mmask8, a: __m128h, b: __m128h, ROUNDING: i32) -> __m128h
Add the lower half-precision (16-bit) floating-point elements in a and b, store the result in the lower element of dst, and copy the upper 7 packed elements from a to the upper elements of dst using writemask k (the element is copied from src when mask bit 0 is not set). Rounding is done according to the rounding parameter, which can be one of:
function
core
Stable since 1.94.0
Version 1.100.0-nightly