core::arch::x86_64

# Function _mm512_castph512_ph256

source

    pub unsafe fn _mm512_castph512_ph256(a: __m512h) -> __m256h

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

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.

Intel’s documentation