daanx
|
8d16303aa6
|
add -mtune=native with opt arch
|
2024-12-22 12:21:31 -08:00 |
|
Daan Leijen
|
f6408235f7
|
merge from dev
|
2024-12-20 13:01:00 -08:00 |
|
Daan Leijen
|
26eaa1f4e2
|
fix cmake to generate mimalloc.dll on windows
|
2024-12-20 12:52:58 -08:00 |
|
Daan Leijen
|
2db407d1e9
|
revert back to generating mimalloc.dll instead of mimalloc-override.dll
|
2024-12-20 11:54:39 -08:00 |
|
Daan Leijen
|
b51c0974d3
|
fix cmake for visual studio on arm64
|
2024-12-19 14:00:54 -08:00 |
|
daanx
|
b18e1546a7
|
merge from dev
|
2024-12-18 15:59:33 -08:00 |
|
daanx
|
61a112cde5
|
fix MI_ARCH test
|
2024-12-18 14:45:44 -08:00 |
|
daanx
|
69d2b4e991
|
add comments/doc
|
2024-12-18 14:41:20 -08:00 |
|
daanx
|
515ae84174
|
syntax error
|
2024-12-18 14:35:10 -08:00 |
|
daanx
|
636d646b9c
|
update arch detection in cmake
|
2024-12-18 14:20:49 -08:00 |
|
Daan Leijen
|
63d0c8f861
|
merge from dev
|
2024-12-17 00:14:03 -08:00 |
|
Daan Leijen
|
3feb0d6cea
|
add Windows arm64 support in cmame; name the mimalloc dll 'mimalloc-override.dll' on Windows with cmake (to match the IDE and minject
|
2024-12-16 23:09:50 -08:00 |
|
daanx
|
b5dfd233e9
|
fix avx2 bug with atomics
|
2024-12-13 19:59:08 -08:00 |
|
daanx
|
118bd8c97f
|
space out threads when searching for free pages
|
2024-12-12 16:37:31 -08:00 |
|
daanx
|
6774130c9a
|
Merge ..\mimalloc into dev3
|
2024-12-10 20:46:12 -08:00 |
|
daanx
|
7bb4767607
|
add asan/ubsan/tsan and valgrind to default debug build
|
2024-12-10 20:45:59 -08:00 |
|
Daan
|
351cb0c740
|
small fixes for macOS
|
2024-12-09 15:16:36 -08:00 |
|
daanx
|
2084df3dde
|
add dedicated meta data allocation for threads and tld
|
2024-12-08 12:20:54 -08:00 |
|
daanx
|
36bb599873
|
merge from dev
|
2024-12-08 09:15:09 -08:00 |
|
daanx
|
2ed6e03d27
|
update optimization on haswell
|
2024-12-08 09:14:16 -08:00 |
|
daanx
|
68bd8744b7
|
fix spelling
|
2024-12-08 09:13:48 -08:00 |
|
daanx
|
e446bc27e5
|
Merge ..\mimalloc into dev3
|
2024-12-08 09:03:33 -08:00 |
|
daanx
|
7c2b09fc3e
|
only enable architecture specific optimization for armv8.1
|
2024-12-08 09:02:16 -08:00 |
|
daanx
|
6b52b19e3b
|
arch specific optimizations
|
2024-12-07 15:02:27 -08:00 |
|
daanx
|
0e5d5831e4
|
Merge ..\mimalloc into dev3
|
2024-12-07 14:17:05 -08:00 |
|
daanx
|
60a8da75ff
|
Add MI_ARCHOPT support for msvc
|
2024-12-07 14:16:39 -08:00 |
|
daanx
|
bef52b96f6
|
Merge ../mimalloc into dev3
|
2024-12-07 14:04:02 -08:00 |
|
daanx
|
469ade882d
|
Add MI_ARCHOPT option to enable architecture specific optimizations
|
2024-12-07 14:03:16 -08:00 |
|
daanx
|
659a9dd51d
|
fix page info size and order; atomic page flags
|
2024-12-06 22:37:59 -08:00 |
|
daanx
|
55b70f1588
|
wip
|
2024-11-30 14:00:07 -08:00 |
|
daanx
|
f8d04dc2bc
|
compile with clang and gcc
|
2024-11-30 12:41:11 -08:00 |
|
daanx
|
441d4fed9f
|
wip: further progress on removing segments
|
2024-11-29 10:40:18 -08:00 |
|
daanx
|
8b6017d976
|
rename mi_debug_guarded_ to mi_guarded_
|
2024-11-16 22:42:32 -08:00 |
|
daanx
|
b27d154ffd
|
add virtual address bits and physical memory to the mem config
|
2024-11-16 15:37:08 -08:00 |
|
Daan
|
b3828bba9e
|
disable aligned hinting or SV39 mmu's, issue #939, and pr #949
|
2024-10-27 21:58:20 -07:00 |
|
Daan
|
4377abe017
|
add cmake option to fall back on the fiber api do detect thread termination on windows
|
2024-10-21 22:59:41 -07:00 |
|
Daan
|
34e66778ec
|
fix MI_EXTRA_CPPDEFS setting
|
2024-10-21 05:10:09 -07:00 |
|
Daan
|
394e8c27d8
|
add cmake option to add C pre processor definitions more easily
|
2024-10-21 05:02:24 -07:00 |
|
Daan
|
7b5df14bea
|
initial work on guarded objects
|
2024-07-16 09:15:59 -07:00 |
|
Daan
|
e0baf882bb
|
reduce UBSAN parameters to stay within pipeline limits
|
2024-06-03 21:26:38 -07:00 |
|
daanx
|
f7ba9d9da0
|
refactor arena-abandoned to be an include for backward compat with existing build scripts
|
2024-06-03 18:04:59 -07:00 |
|
daanx
|
800034cb99
|
refactor arena abandonment in a separate file
|
2024-06-03 17:58:34 -07:00 |
|
Daan
|
4aa97336f7
|
remove the need for cmake patch in vcpkg port
|
2024-05-21 12:06:52 -07:00 |
|
Daan
|
9cd7e4cc68
|
rename library check to find_link_library
|
2024-05-19 15:43:15 -07:00 |
|
Daan
|
f739e4f2c3
|
check all link libraries (pthread, rt, and atomic) via check_linker_flag first before using find_library (see also issue #898
|
2024-05-19 15:38:26 -07:00 |
|
Daan
|
03224e17a0
|
bump cmake required version to 3.18 and detect libatomic more reliably, see pr #898
|
2024-05-19 13:25:31 -07:00 |
|
Daan
|
0f6d8293c7
|
use local dynamic tls for static MUSL builds (see issue #644)
|
2024-05-11 08:08:03 -07:00 |
|
Daan
|
e46c1145a5
|
add separate MI_LIBC_MUSL option (issue #644)
|
2024-04-20 16:19:59 -07:00 |
|
Daan Leijen
|
07ae64bd81
|
faster check for NULL in mi_free by combining with masking
|
2024-03-24 10:39:22 -07:00 |
|
Daan
|
7df348e2ea
|
fix typo, #756
|
2024-03-02 17:07:09 -08:00 |
|