_mm256_dp_ps in core::arch::x86 - Rust
Description: Conditionally multiplies the packed single-precision (32-bit) floating-point elements in `a` and `b` using the high 4 bits in `imm8`, sum the four products, and conditionally return the sum using the low 4 bits of `imm8`.

Skip to main content

## _mm256_dp_ps

# Function _mm256_dp_ps

1.27.0 · Source

    pub fn _mm256_dp_ps(a: __m256, b: __m256, const IMM8: i32) -> __m256

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

Conditionally multiplies the packed single-precision (32-bit) floating-point elements in `a` and `b` using the high 4 bits in `imm8`, sum the four products, and conditionally return the sum using the low 4 bits of `imm8`.

Intel’s documentation