From c8ba7fa1d30abc175d828d31b1ec8b46fc853ce4 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Tue, 19 Dec 2023 23:09:03 +0200 Subject: [PATCH] add missing pdep64 for common bitutils --- src/util/bitutils.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/util/bitutils.h b/src/util/bitutils.h index c67d5a85..8e9aae9c 100644 --- a/src/util/bitutils.h +++ b/src/util/bitutils.h @@ -78,6 +78,7 @@ #define rank_in_mask64_impl rank_in_mask64_impl_c #define pext32_impl pext32_impl_c #define pext64_impl pext64_impl_c +#define pdep64_impl pdep64_impl_c #endif static really_inline @@ -207,6 +208,11 @@ u64a pext64(u64a x, u64a mask) { return pext64_impl(x, mask); } +static really_inline +u64a pdep64(u64a x, u64a mask) { + return pdep64_impl(x, mask); +} + /* compilers don't reliably synthesize the 32-bit ANDN instruction here, * so we force its generation. */