Skip to main content

## _mm_castps_ph

# Function _mm_castps_ph

1.94.0 (const: unstable) · Source

    pub fn _mm_castps_ph(a: __m128) -> __m128h

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

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

Intel’s documentation