Available on x86 or x86-64 only.
Expand description
Vectorized Population Count Instructions for Double- and Quadwords (VPOPCNTDQ)
The intrinsics here correspond to those in the immintrin.h C header.
The reference is Intel 64 and IA-32 Architectures Software Developerβs Manual Volume 2: Instruction Set Reference, A-Z.
Re-exportsΒ§
use crate::core_arch::x86::__m128i;πuse crate::core_arch::x86::__m256i;πuse crate::core_arch::x86::__m512i;πuse crate::core_arch::x86::__mmask8;πuse crate::core_arch::x86::__mmask16;πuse crate::intrinsics::simd::simd_ctpop;πExperimental use crate::intrinsics::simd::simd_select_bitmask;πExperimental use crate::mem::transmute;πuse crate::core_arch::simd::*;π
FunctionsΒ§
- _mm256_
mask_ popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm256_
mask_ popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm256_
maskz_ popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm256_
maskz_ popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm256_
popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm256_
popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm512_
mask_ popcnt_ epi32 avx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm512_
mask_ popcnt_ epi64 avx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm512_
maskz_ popcnt_ epi32 avx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm512_
maskz_ popcnt_ epi64 avx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm512_
popcnt_ epi32 avx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm512_
popcnt_ epi64 avx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm_
mask_ popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm_
mask_ popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm_
maskz_ popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm_
maskz_ popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.
- _mm_
popcnt_ epi32 avx512vlandavx512vpopcntdq - For each packed 32-bit integer maps the value to the number of logical 1 bits.
- _mm_
popcnt_ epi64 avx512vlandavx512vpopcntdq - For each packed 64-bit integer maps the value to the number of logical 1 bits.