forked from WojciechMula/sse-popcount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popcnt-all.cpp
51 lines (41 loc) · 1.24 KB
/
popcnt-all.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// includes all available implementations
#include "popcnt-lookup.cpp"
#include "popcnt-bit-parallel-scalar.cpp"
#include "popcnt-bit-parallel-scalar32.cpp"
#include "popcnt-harley-seal.cpp"
#include "popcnt-builtin.cpp"
#if defined(HAVE_SSE_INSTRUCTIONS)
# include "sse_operators.cpp"
# include "popcnt-sse-bit-parallel.cpp"
# include "popcnt-sse-bit-parallel-better.cpp"
# include "popcnt-sse-lookup.cpp"
# include "popcnt-sse-harley-seal.cpp"
# include "popcnt-sse-cpu.cpp"
#endif
#if defined(HAVE_POPCNT_INSTRUCTION)
# include "popcnt-cpu.cpp"
#endif
#if defined(HAVE_AVX2_INSTRUCTIONS)
# include "popcnt-avx2-lookup.cpp"
# include "popcnt-avx2-harley-seal.cpp"
# include "popcnt-avx2-cpu.cpp"
#endif
#if defined(HAVE_AVX512BW_INSTRUCTIONS)
# include "popcnt-avx512-harley-seal.cpp"
# include "popcnt-avx512bw-lookup.cpp"
#endif
#if defined(HAVE_AVX512VBMI_INSTRUCTIONS)
# include "popcnt-avx512vbmi-lookup.cpp"
#endif
#if defined(HAVE_AVX512VPOPCNT_INSTRUCTIONS)
# include "popcnt-avx512-vpopcnt.cpp"
#endif
#if defined(HAVE_NEON_INSTRUCTIONS)
# include "popcnt-neon.cpp"
#endif
#if defined(HAVE_AARCH64_ARCHITECTURE)
# include "popcnt-aarch64.cpp"
#endif
#if defined(HAVE_RVV_INSTRUCTIONS)
# include "popcnt-rvv.cpp"
#endif