diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-04-06 15:18:26 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-04-06 15:18:26 +0200 |
| commit | fe534f1497da6447153064d7bba00243000f803b (patch) | |
| tree | 851cd657931dce7584baf00cf092360416161793 /src/arch/common.h | |
| parent | b729562fc3c1b85f1ea9a19fadd1caaf85b85777 (diff) | |
| download | nissy-core-fe534f1497da6447153064d7bba00243000f803b.tar.gz nissy-core-fe534f1497da6447153064d7bba00243000f803b.zip | |
Added popcount_u64
Diffstat (limited to 'src/arch/common.h')
| -rw-r--r-- | src/arch/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/common.h b/src/arch/common.h index 4412562..2b95fe3 100644 --- a/src/arch/common.h +++ b/src/arch/common.h | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #define EFLIP UINT8_C(0x10) | 13 | #define EFLIP UINT8_C(0x10) |
| 14 | 14 | ||
| 15 | STATIC_INLINE int popcount_u32(uint32_t); | 15 | STATIC_INLINE int popcount_u32(uint32_t); |
| 16 | STATIC_INLINE int popcount_u64(uint64_t); | ||
| 16 | 17 | ||
| 17 | STATIC void pieces(cube_t [static 1], uint8_t [static 8], uint8_t [static 12]); | 18 | STATIC void pieces(cube_t [static 1], uint8_t [static 8], uint8_t [static 12]); |
| 18 | STATIC_INLINE bool equal(cube_t, cube_t); | 19 | STATIC_INLINE bool equal(cube_t, cube_t); |
