Commit Graph

55 Commits

Author SHA1 Message Date
Johannes Schindelin 745a34f475 Fix whitespace
This mostly deletes trailing spaces.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-12-03 00:24:20 +01:00
Daan b7677b6f84 fix atomic warnings on clang14 (issue #571) 2022-04-08 14:09:38 -07:00
Daan 5b9409f4d6 add space after _Atomic to prevent errors on msvc without /TP (see PR #452) 2021-10-19 10:17:30 -07:00
Daan Leijen a83bca72b3 fixes for M1; disable interpose use zones; fix pedantic warnings 2021-06-17 19:15:09 -07:00
Jim Huang 5940d3bcce Bump copyright date
Each source file has been changed according to relevant Git activities.
2021-04-24 16:35:11 +00:00
Daan Leijen 71ac98ab08 rename <Windows.h> include to <windows.h> for mingw compatibility (see pr #367) 2021-02-22 13:04:11 -08:00
Daan Leijen 8d4444ef00 remove spurious parenthesis (#350) 2021-01-28 17:36:35 -08:00
Michael R. Crusoe fb66ebea1d add/improve atomic yields for SSE2, ARM*, PowerPC 2021-01-23 16:45:47 +01:00
David Carlier 33a10b4860 Restricts cpu yield instructions a little.
adding clobber for ARM and preventing older 32 bits chips not supporting this instruction.
2020-12-12 12:19:04 +00:00
daan 4355ab7d20 add i64 atomics 2020-09-06 13:21:02 -07:00
daan 83bd352f37 roll back previous commit (use standard C++ atomics on msvc 2020-09-05 11:29:38 -07:00
daan 102a85937e experiment with using non-c++ atomics on msvc 2020-09-05 11:27:06 -07:00
daan 2e311f341b fix msvc compilation in C mode 2020-09-05 09:37:09 -07:00
daan 50de0d2358 fix C++ compilation with new atomics 2020-09-05 09:17:42 -07:00
daan 900c97664a merge from dev-atomic 2020-09-03 09:47:01 -07:00
daan 76a68cd7af bump version to 1.6.6 with new atomics 2020-09-03 09:45:53 -07:00
daan b4825372ab small compilation warning fixes (extra semicolon etc) 2020-08-29 19:30:38 -07:00
daan 5805c39916 enable --std=c99 compilation; fix mingw compilation 2020-08-09 17:55:17 -07:00
daan ef8e5d18a6 replace atomics with C11/C++ atomics with explicit memory order; passes tsan. Issue #130 2020-07-26 18:01:33 -07:00
daan a468430772 strengthen memory order of bit operations; insert memory fences 2020-07-26 14:19:30 -07:00
daan a9f46dc86f reduce memory order constraints for better efficiency on ARM etc 2020-07-26 11:58:02 -07:00
daan ebf951e851 extra checks for atomic ptr exchange; extend mi_atomic_yield for win32 2020-07-26 00:15:57 -07:00
daan 09ade02429 bring inline with C11 atomics; no volatile and cas order of expected/desired 2020-07-25 22:52:27 -07:00
daan e27422adca switch to using C++ atomics in MSVC as well 2020-07-25 20:55:45 -07:00
daan a9a21f39d8 fix memory order for CAS failure, issue #130 2020-07-23 15:52:02 -07:00