add missing pdep64 for common bitutils

This commit is contained in:
Konstantinos Margaritis 2023-12-19 23:09:03 +02:00
parent e15ad9308a
commit c8ba7fa1d3

View 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.
*/