mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
add missing pdep64 for common bitutils
This commit is contained in:
parent
e15ad9308a
commit
c8ba7fa1d3
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user