doc.rust-lang.org
pub const fn _mm_castph_ps(a: __m128h) -> __m128
Cast vector of type __m128h to type __m128. 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_pd(a: __m128h) -> __m128d
Cast vector of type __m128h to type __m128d. 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_castpd_ph(a: __m128d) -> __m128h
Cast vector of type __m128d 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_add_sh(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.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm_add_round_sh(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. 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
doc.rust-lang.org
pub const fn _mm_add_ph(a: __m128h, b: __m128h) -> __m128h
Add packed half-precision (16-bit) floating-point elements in a and b, 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_abs_ph(v2: __m128h) -> __m128h
Finds the absolute value of each packed half-precision (16-bit) floating-point element in v2, storing the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_zextph256_ph512(a: __m256h) -> __m512h
Cast vector of type __m256h to type __m512h. The upper 16 elements of the result are zeroed. This intrinsic can generate the vzeroupper instruction, but most of the time it does not generate any instructions.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_zextph128_ph512(a: __m128h) -> __m512h
Cast vector of type __m128h to type __m512h. The upper 24 elements of the result are zeroed. This intrinsic can generate the vzeroupper instruction, but most of the time it does not generate any instructions.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm512_undefined_ph() -> __m512h
Return vector of type __m512h with indetermination elements. Despite using the word "undefined" (following Intel's naming scheme), this non-deterministically picks some valid value and is not equivalent to mem::MaybeUninit. In practice, this is typically equivalent to mem::zeroed.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_sub_round_ph(a: __m512h, b: __m512h, ROUNDING: i32) -> __m512h
Subtract packed half-precision (16-bit) floating-point elements in b from a, and store the results in dst. 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
doc.rust-lang.org
pub const fn _mm512_sub_ph(a: __m512h, b: __m512h) -> __m512h
Subtract packed half-precision (16-bit) floating-point elements in b from a, and store the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_sqrt_round_ph(a: __m512h, ROUNDING: i32) -> __m512h
Compute the square root of packed half-precision (16-bit) floating-point elements in a, and store the results in dst. 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
doc.rust-lang.org
pub fn _mm512_sqrt_ph(a: __m512h) -> __m512h
Compute the square root of packed half-precision (16-bit) floating-point elements in a, 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 _mm512_setzero_ph() -> __m512h
Return vector of type __m512h with all elements set to zero.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_scalef_round_ph(a: __m512h, b: __m512h, ROUNDING: i32) -> __m512h
Scale the packed half-precision (16-bit) floating-point elements in a using values from b, and store the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_scalef_ph(a: __m512h, b: __m512h) -> __m512h
Scale the packed half-precision (16-bit) floating-point elements in a using values from b, and store the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_rsqrt_ph(a: __m512h) -> __m512h
Compute the approximate reciprocal square root of packed half-precision (16-bit) floating-point elements in a, and store the results in dst. The maximum relative error for this approximation is less than 1.5*2^-12.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm512_roundscale_round_ph(a: __m512h, IMM8: i32, SAE: i32) -> __m512h
Round packed half-precision (16-bit) floating-point elements in a to the number of fraction bits specified by imm8, and store the results in dst. 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 _mm512_roundscale_ph(a: __m512h, IMM8: i32) -> __m512h
Round packed half-precision (16-bit) floating-point elements in a to the number of fraction bits specified by imm8, and store the results in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly