_mm256_hsub_pd in core::arch::x86 - Rust
Description: Horizontal subtraction of adjacent pairs in the two packed vectors of 4 64-bit floating points `a` and `b`. In the result, sums of elements from `a` are returned in even locations, while sums of elements from `b` are returned in odd locations.

core::arch::x86

# Function _mm256_hsub_pd

1.27.0 · Source

    pub unsafe fn _mm256_hsub_pd(a: __m256d, b: __m256d) -> __m256d

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

Horizontal subtraction of adjacent pairs in the two packed vectors of 4 64-bit floating points `a` and `b`. In the result, sums of elements from `a` are returned in even locations, while sums of elements from `b` are returned in odd locations.

Intel’s documentation