no_std_compat::arch::x86

Function _mm_maskz_ternarylogic_epi32

Source
pub unsafe fn _mm_maskz_ternarylogic_epi32<const IMM8: i32>(
    k: u8,
    a: __m128i,
    b: __m128i,
    c: __m128i,
) -> __m128i
🔬This is a nightly-only experimental API. (stdarch_x86_avx512)
Available on x86 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 32-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 32-bit granularity (32-bit elements are zeroed out when the corresponding mask bit is not set).

Intel’s documentation