doc.rust-lang.org
pub fn _mm_cvt_roundsd_sh(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, 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_cvt_roundi32_sh(a: __m128h, b: i32, ROUNDING: i32) -> __m128h
Convert the signed 32-bit integer b to a half-precision (16-bit) floating-point element, store the result in the lower element of dst, 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_conj_pch(a: __m128h) -> __m128h
Compute the complex conjugates of complex numbers in a, and store the results in dst. 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_comineq_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for not-equal, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comilt_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for less-than, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comile_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for less-than-or-equal, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comigt_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for greater-than, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comige_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for greater-than-or-equal, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comieq_sh(a: __m128h, b: __m128h) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b for equality, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comi_sh(a: __m128h, b: __m128h, IMM5: i32) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and return the boolean result (0 or 1).
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_comi_round_sh(a: __m128h, b: __m128h, IMM5: i32, SAE: i32) -> i32
Compare the lower half-precision (16-bit) floating-point elements in a and b based on the comparison operand specified by imm8, and return the boolean result (0 or 1). 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_cmul_sch(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. 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_cmul_round_sch(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. 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_cmul_pch(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. 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_cmp_sh_mask(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.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_cmp_round_sh_mask(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. 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_cmp_ph_mask(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.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_castsi128_ph(a: __m128i) -> __m128h
Cast vector of type __m128i to type __m128h. This intrinsic is only used for compilation and does not generate any instructions, thus it has zero latency.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_castps_ph(a: __m128) -> __m128h
Cast vector of type __m128 to type __m128h. This intrinsic is only used for compilation and does not generate any instructions, thus it has zero latency.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm_castph_si128(a: __m128h) -> __m128i
Cast vector of type __m128h to type __m128i. This intrinsic is only used for compilation and does not generate any instructions, thus it has zero latency.
function
core
Stable since 1.94.0
Version 1.100.0-nightly