Skip to main content

## _mm256_castph256_ph128

# Function _mm256_castph256_ph128

1.94.0 (const: unstable) · Source

    pub fn _mm256_castph256_ph128(a: __m256h) -> __m128h

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

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

Intel’s documentation