mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
merge from dev
This commit is contained in:
commit
36bb599873
1 changed files with 2 additions and 2 deletions
|
@ -407,9 +407,9 @@ if (MSVC AND MSVC_VERSION GREATER_EQUAL 1914) # vs2017+
|
|||
list(APPEND mi_cflags /Zc:__cplusplus)
|
||||
if(MI_OPT_ARCH)
|
||||
if(MI_ARCH STREQUAL "x64")
|
||||
set(MI_OPT_ARCH_FLAGS "/arch:AVX2") # fast bit scan (since 2013)
|
||||
set(MI_OPT_ARCH_FLAGS "/arch:AVX2")
|
||||
elseif(MI_ARCH STREQUAL "arm64")
|
||||
set(MI_OPT_ARCH_FLAGS "/arch:armv8.1") # fast atomics (since 2016)
|
||||
set(MI_OPT_ARCH_FLAGS "/arch:armv8.1")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue