merge from dev-platform

This commit is contained in:
Daan Leijen 2023-03-15 20:42:59 -07:00
commit 61ae0d1d5e
9 changed files with 17 additions and 0 deletions

View file

@ -792,6 +792,7 @@ static inline size_t mi_ctz(uintptr_t x) {
#elif defined(_MSC_VER)
#include <limits.h> // LONG_MAX
#include <intrin.h> // BitScanReverse64
#define MI_HAVE_FAST_BITSCAN
static inline size_t mi_clz(uintptr_t x) {
if (x==0) return MI_INTPTR_BITS;