mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
nicefy mi_popcount
This commit is contained in:
parent
b10c0f87ee
commit
dfa50c37d9
2 changed files with 5 additions and 1 deletions
|
@ -209,7 +209,7 @@ static inline size_t mi_popcount(size_t x) {
|
|||
return mi_builtinz(popcount)(x);
|
||||
#else
|
||||
#define MI_HAS_FAST_POPCOUNT 0
|
||||
return (x<=1 ? x : _mi_popcount_generic(x));
|
||||
return _mi_popcount_generic(x);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue