mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 03:34:25 +03:00
use C implementation of popcount for arm
This commit is contained in:
@@ -53,8 +53,8 @@ u32 popcount64_impl_c(u64a x) {
|
||||
return (x * 0x0101010101010101) >> 56;
|
||||
#else
|
||||
// Synthesise from two 32-bit cases.
|
||||
return popcount32_impl(x >> 32) + popcount32_impl(x);
|
||||
return popcount32_impl_c(x >> 32) + popcount32_impl_c(x);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif // POPCOUNT_ARCH_COMMON_H
|
||||
#endif // POPCOUNT_ARCH_COMMON_H
|
||||
|
Reference in New Issue
Block a user