Commit Graph

945 Commits

Author SHA1 Message Date
daanx f4d54c60e3 merge from dev 2025-05-04 09:15:57 -07:00
daanx f989a1cbb9 add more decl_hidden specifiers on extern variables to improve access on arm64 2025-05-04 09:10:38 -07:00
daanx e4c5d09d65 improve TLS access on Windows with msvc (by Frank Richter, issue #1078) 2025-05-04 09:04:57 -07:00
daanx 90da648b08 merge from dev 2025-05-02 16:28:57 -07:00
daanx f3e92b1edd Use second user TLS slot to avoid using reserved fields in the TEB (issue #1078) 2025-05-02 16:12:20 -07:00
Daan 3c3d16fe48 fix mi_ctz/clz/bsf/bsr to avoid msvc compilation bug (issue #1071, pr #1081) 2025-05-02 08:14:36 -07:00
daanx 26e4632287 merge from dev 2025-04-02 10:45:18 -07:00
daanx 3c3600f85f add atomic_cas_ptr_strong_acq_rel 2025-04-02 10:36:01 -07:00
daanx 235a0390ee refactor numa_node_count 2025-04-02 10:34:00 -07:00
Daan 71b3e16171 fix invalid pointer detection in release mode (issue #1051 and #1053) 2025-03-31 10:54:12 -07:00
Daan 7d4ee62386 bump version to 3.0.4 for further development 2025-03-28 14:23:18 -07:00
Daan a78374d816 bump version to 1.9.4 for further development 2025-03-28 14:22:02 -07:00
Daan 9228b4814a make mi_options static, rename out_buf for the debug extension 2025-03-28 13:49:14 -07:00
Daan 11cfb42fa0 Merge branch 'dev' into dev3 2025-03-28 13:39:07 -07:00
Daan 1052c30f03 fix parenthesis in #if condition 2025-03-28 13:09:24 -07:00
Vincent Fazio 23fbee7ec6 atomic: fix mi_atomic_yield for big-endian arm32
Previously, `mi_atomic_yield` would not be defined on ARM32 big-endian
architectures if they were pre-ARMv7.

Rework the #ifdef guard to be more readable and collapse the ARM guards
so both little and big endian are handled via the same mechanism.

Now, ARMv7+ will utilize `yield` while older targets will use `nop`
regardless of endianness.

Signed-off-by: Vincent Fazio <vfazio@gmail.com>
2025-03-28 08:04:07 -05:00
Daan 8da1c1b430 Merge branch 'dev' into dev3 2025-03-25 16:06:25 -07:00
Daan 632eab958b fix for atomic_yield on arm 32-bit, issue #1046 2025-03-25 16:02:29 -07:00
Daan d5dface6fb merge from dev improved statistics 2025-03-21 19:49:02 -07:00
Daan a077311a5e improve tracking of malloc_requested count 2025-03-21 19:40:44 -07:00
Daan 9a8aa8fcc9 merge from dev 2025-03-19 20:35:44 -07:00
Daan 660d749d77 do not default to MI_DEBUG=2 in release mode builds even when NDEBUG is not defined by defininig MI_BUILD_RELEASE (issue #1037) 2025-03-19 20:29:29 -07:00
Daan 26fa8be427 improved accounting of committed bytes (issue #1035) 2025-03-19 18:50:53 -07:00
Daan 15f2a9c729 move option_desc_t to internal.h for debugging 2025-03-14 12:55:03 -07:00
Daan bb9f3e3b43 move statistics api into internal.h 2025-03-14 10:33:18 -07:00