mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
add fallback pdep64 for x86 if no HAVE_BMI2
This commit is contained in:
parent
49e6fe15a2
commit
1b915cfb93
@ -285,6 +285,11 @@ static really_inline
|
|||||||
u64a pdep64_impl(u64a x, u64a mask) {
|
u64a pdep64_impl(u64a x, u64a mask) {
|
||||||
return _pdep_u64(x, mask);
|
return _pdep_u64(x, mask);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
static really_inline
|
||||||
|
u64a pdep64_impl(u64a x, u64a mask) {
|
||||||
|
return pdep64_impl_c(x, mask);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* compilers don't reliably synthesize the 32-bit ANDN instruction here,
|
/* compilers don't reliably synthesize the 32-bit ANDN instruction here,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user