core::arch::x86_64::_mm512_ternarylogic_epi64 - Rust
Description: API documentation for the Rust `_mm512_ternarylogic_epi64` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _mm512_ternarylogic_epi64

# [−][src]Function core::arch::x86_64::_mm512_ternarylogic_epi64

    pub unsafe fn _mm512_ternarylogic_epi64(
        a: __m512i,
        b: __m512i,
        c: __m512i,
        imm8: i32
    ) -> __m512i

🔬 This is a nightly-only experimental API. (`stdsimd` #48556)
This is supported on x86-64 and target feature `avx512f` only.

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.

Intel's documentation