doc.rust-lang.org
pub const fn _mm512_castps_ph(a: __m512) -> __m512h
Cast vector of type __m512 to type __m512h. 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 _mm512_castph_si512(a: __m512h) -> __m512i
Cast vector of type __m512h to type __m512i. 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 _mm512_castph_ps(a: __m512h) -> __m512
Cast vector of type __m512h to type __m512. 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 _mm512_castph_pd(a: __m512h) -> __m512d
Cast vector of type __m512h to type __m512d. 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 _mm512_castph512_ph256(a: __m512h) -> __m256h
Cast vector of type __m512h to type __m256h. 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 _mm512_castph512_ph128(a: __m512h) -> __m128h
Cast vector of type __m512h 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 _mm512_castph256_ph512(a: __m256h) -> __m512h
Cast vector of type __m256h to type __m512h. The upper 16 elements of the result are undefined. In practice, the upper elements 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_castph128_ph512(a: __m128h) -> __m512h
Cast vector of type __m128h to type __m512h. The upper 24 elements of the result are undefined. In practice, the upper elements 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_castpd_ph(a: __m512d) -> __m512h
Cast vector of type __m512d to type __m512h. 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 fn _mm512_add_round_ph(a: __m512h, b: __m512h, ROUNDING: i32) -> __m512h
Add packed half-precision (16-bit) floating-point elements in a and b, 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_add_ph(a: __m512h, b: __m512h) -> __m512h
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 _mm512_abs_ph(v2: __m512h) -> __m512h
Finds the absolute value of each packed half-precision (16-bit) floating-point element in v2, storing the result in dst.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const fn _mm256_zextph128_ph256(a: __m128h) -> __m256h
Cast vector of type __m256h to type __m128h. The upper 8 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 _mm256_undefined_ph() -> __m256h
Return vector of type __m256h 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 const fn _mm256_sub_ph(a: __m256h, b: __m256h) -> __m256h
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 _mm256_sqrt_ph(a: __m256h) -> __m256h
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 _mm256_setzero_ph() -> __m256h
Return vector of type __m256h with all elements set to zero.
function
core
Stable since 1.94.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn _mm256_scalef_ph(a: __m256h, b: __m256h) -> __m256h
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 _mm256_rsqrt_ph(a: __m256h) -> __m256h
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 _mm256_roundscale_ph(a: __m256h, IMM8: i32) -> __m256h
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