mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-12 22:24:58 +03:00
merge with dev
This commit is contained in:
commit
493dfc4b82
22 changed files with 321 additions and 147 deletions
|
@ -56,7 +56,7 @@ static inline uint8_t mi_bsr32(uint32_t x);
|
|||
#include <intrin.h>
|
||||
static inline uint8_t mi_bsr32(uint32_t x) {
|
||||
uint32_t idx;
|
||||
_BitScanReverse(&idx, x);
|
||||
_BitScanReverse((DWORD*)&idx, x);
|
||||
return idx;
|
||||
}
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue