mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
f89a6f12a7
The __atomic_test_and_set and __atomic_clear code was correct. They needed locking. Replaced to code with assembly code. The changes are in include/stdatomic.h, lib/stdatomic.c, lib/atomic.S Enabled tests/tests2/124_atomic_counter.c for apple again. Also moved lib/fetch_and_add.S code to lib/atomic.S. Removed lib/fetch_and_add.S Adjusted lib/Makefile |
||
---|---|---|
.. | ||
alloca-bt.S | ||
alloca.S | ||
armeabi.c | ||
armflush.c | ||
atomic.S | ||
bcheck.c | ||
bt-dll.c | ||
bt-exe.c | ||
bt-log.c | ||
dsohandle.c | ||
lib-arm64.c | ||
libtcc1.c | ||
Makefile | ||
stdatomic.c | ||
tcov.c | ||
va_list.c |