Function _mm256_castpd_ph

#[target_feature(enable = "avx512fp16")]
pub const fn _mm256_castpd_ph(a: __m256d) -> __m256h

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

Intel's documentation