_mm256_castph256_ph128 in core::arch::x86 - Rust
Description: Cast vector of type `__m256h` to type `__m128h`. This intrinsic is only used for compilation and does not generate any instructions, thus it has zero latency.

core::arch::x86

# Function _mm256_castph256_ph128

Source

    pub unsafe fn _mm256_castph256_ph128(a: __m256h) -> __m128h

🔬This is a nightly-only experimental API. (`stdarch_x86_avx512_f16` #127213)
Available on (x86 or x86-64) and target feature `avx512fp16` and x86 only.
Expand description

Cast vector of type `__m256h` to type `__m128h`. This intrinsic is only used for compilation and does not generate any instructions, thus it has zero latency.

Intel’s documentation