Function core::arch::x86_64::_mm256_hsub_ps

1.27.0 · source ·
pub unsafe fn _mm256_hsub_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