mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-17 23:54:16 +08:00
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 | ||