## _mm256_castph128_ph256

# Function _mm256_castph128_ph256

1.94.0 (const: unstable) · Source

    pub fn _mm256_castph128_ph256(a: __m128h) -> __m256h

Available on x86-64 and target feature `avx512fp16` only.
Expand description

Cast vector of type `__m128h` to type `__m256h`. The upper 8 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.

Intel’s documentation