_mm512_castph128_ph512 in core::arch::x86 - Rust
Description: Cast vector of type `__m128h` to type `__m512h`. The upper 24 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.

Skip to main content

## _mm512_castph128_ph512

# Function _mm512_castph128_ph512

1.94.0 (const: unstable) · Source

    pub fn _mm512_castph128_ph512(a: __m128h) -> __m512h

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

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