core::arch::x86::_mm256_hadd_pd - Rust
Description: API documentation for the Rust `_mm256_hadd_pd` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _mm256_hadd_pd

# 1.27.0[−][src]Function core::arch::x86::_mm256_hadd_pd

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

This is supported on x86 and target feature `avx` only.

Horizontal addition 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