_mm256_cvtph_epi16 in core::arch::x86 - Rust
Description: Convert packed half-precision (16-bit) floating-point elements in a to packed 16-bit integers, and store the results in dst.

Skip to main content

## _mm256_cvtph_epi16

# Function _mm256_cvtph_epi16

1.94.0 · Source

    pub fn _mm256_cvtph_epi16(a: __m256h) -> __m256i

Available on x86 and (x86 or x86-64) and target feature `avx512fp16` and target feature `avx512vl` only.
Expand description

Convert packed half-precision (16-bit) floating-point elements in a to packed 16-bit integers, and store the results in dst.

Intel’s documentation