_mm256_maskz_ternarylogic_epi64 in core::arch::x86_64 - Rust
Description: Bitwise ternary logic that provides the capability to implement any three-operand binary function; the specific binary function is specified by value in imm8. For each bit in each packed 64-bit integer, the corresponding bit from a, b, and c are used to form a 3 bit index into imm8, and the value at that bit in imm8 is written to the corresponding bit in dst using zeromask k at 64-bit granularity (64-bit elements are zeroed out when the corresponding mask bit is not set).

## _mm256_maskz_ternarylogic_epi64

# Function _mm256_maskz_ternarylogic_epi64

1.89.0 · Source

    pub fn _mm256_maskz_ternarylogic_epi64(
        k: __mmask8,
        a: __m256i,
        b: __m256i,
        c: __m256i,
        const IMM8: i32,
    ) -> __m256i

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

Bitwise ternary logic that provides the capability to implement any three-operand binary function; the specific binary function is specified by value in imm8. For each bit in each packed 64-bit integer, the corresponding bit from a, b, and c are used to form a 3 bit index into imm8, and the value at that bit in imm8 is written to the corresponding bit in dst using zeromask k at 64-bit granularity (64-bit elements are zeroed out when the corresponding mask bit is not set).

Intel’s documentation