Files
tinycc/tests/tests2
herman ten brugge 79a8229fb5 Add atomic functions for arm/arm64/riscv
Make code more compatible with gcc. Change
__atomic_store
__atomic_load
__atomic_exchange
__atomic_compare_exchange

Also add (include/stdatomic.h, lib/stdatomic.c):
atomic_thread_fence
atomic_signal_fence
atomic_is_lock_free

And gcc extensions (tcctok.h, tccgen.c, lib/stdatomic.c):
__atomic_fetch_nand
__atomic_and_fetch
__atomic_sub_fetch
__atomic_or_fetch
__atomic_xor_fetch
__atomic_and_fetch
__atomic_nand_fetch

Add new file lib/atomic.S with assembly code for __atomic_compare_exchange_n
for arm/arm64/riscv. Also update lib/Makefile.

Update testcode in 124_atomic_counter and 125_atomic_misc to test new functions.
Also update tests/tests2/Makefile to run tests on arm/arm64/riscv.
2022-10-16 18:51:56 +02:00
..
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2020-01-20 05:48:48 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2017-07-10 22:20:34 +02:00
2017-07-10 22:20:34 +02:00
2022-09-12 11:37:47 +02:00
2022-09-12 11:37:47 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2014-04-07 11:20:45 +02:00
2014-04-07 11:20:45 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2017-07-14 17:42:48 +02:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2019-12-12 12:56:06 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 14:27:38 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2013-02-05 13:22:36 +01:00
2021-02-03 04:30:11 +01:00
2022-07-01 15:37:23 +02:00
2019-04-09 04:39:38 +02:00
2016-03-24 15:44:01 +01:00
2016-04-05 13:05:09 +03:00
2019-12-16 21:37:44 +01:00
2019-06-24 11:40:01 +02:00
2022-08-16 16:58:00 +02:00
2020-08-09 07:50:34 +02:00
2020-08-09 08:28:45 +02:00
2020-08-09 07:50:34 +02:00
2019-12-16 21:37:44 +01:00
2020-07-06 13:00:47 +02:00
2020-12-22 07:02:47 +01:00
2019-05-03 12:32:55 +02:00
2019-05-03 12:32:55 +02:00
2022-10-13 20:32:47 +02:00
2019-06-17 19:08:08 +02:00
2020-12-19 21:02:44 +01:00
2020-12-19 21:02:44 +01:00
2019-10-29 12:02:58 +01:00
2020-01-19 11:46:07 +01:00
2020-01-19 11:46:07 +01:00
2020-01-19 11:46:07 +01:00
2021-01-01 20:36:57 +01:00
2020-10-01 18:03:56 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2020-10-01 17:09:09 +02:00
2021-02-03 04:30:11 +01:00
2021-02-03 04:30:11 +01:00
2022-05-05 09:10:37 +02:00
2022-05-05 09:10:37 +02:00
2022-08-16 15:59:41 +02:00
2022-08-16 15:59:41 +02:00
2013-02-05 13:22:36 +01:00