aboutsummaryrefslogtreecommitdiff
path: root/src/arch/avx2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/avx2.h')
-rw-r--r--src/arch/avx2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/avx2.h b/src/arch/avx2.h
index e3fddd6..21a6f3b 100644
--- a/src/arch/avx2.h
+++ b/src/arch/avx2.h
@@ -34,6 +34,12 @@ popcount_u32(uint32_t x)
34 return _mm_popcnt_u32(x); 34 return _mm_popcnt_u32(x);
35} 35}
36 36
37STATIC_INLINE int
38popcount_u64(uint64_t x)
39{
40 return _mm_popcnt_u64(x);
41}
42
37STATIC void 43STATIC void
38pieces(cube_t cube[NON_NULL], uint8_t c[SIZE(8)], uint8_t e[SIZE(12)]) 44pieces(cube_t cube[NON_NULL], uint8_t c[SIZE(8)], uint8_t e[SIZE(12)])
39{ 45{

Generated with cgit - Back to sebastiano.tronto.net