Function core::arch::x86::_mm256_hadd_ps1.27.0[][src]

pub unsafe fn _mm256_hadd_ps(a: __m256, b: __m256) -> __m256
This is supported on x86 and target feature avx only.
Expand description

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

2, 3, 6, 7.

Intel’s documentation