]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
add missing pdep64 for common bitutils
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 19 Dec 2023 21:09:03 +0000 (23:09 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 19 Dec 2023 21:09:03 +0000 (23:09 +0200)
src/util/bitutils.h

index c67d5a85dedc8ca55544c8e3a7b4bbea84091aa0..8e9aae9c293acf3b01986c26e42a94ff4516478a 100644 (file)
@@ -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.
  */