Function core::arch::x86_64::_mm256_hadd_ps

1.27.0 · source ·
pub unsafe fn _mm256_hadd_ps(a: __m256, b: __m256) -> __m256
Available on (x86 or x86-64) and target feature avx and x86-64 only.
Expand description

在 8 个 32 位浮点 ab 的两个包装的 vectors 中水平相加相邻对。 结果,来自 a 的元素之和返回到索引 0、1、4、5 的位置; 而 b 中的元素总和是位置

2, 3, 6, 7.

Intel’s documentation