test: Add a test for atomic load/store of large integers

Test atomically loading/storing 128 bit integers on 64 bit, and
64 bit integers on 32 bit.

This test case covers the root cause of
https://github.com/mstorsjo/llvm-mingw/issues/538.
This commit is contained in:
Martin Storsjö committed 2026-02-25 12:13:08 +02:00
1 parent 9610c61240
commit 49afca5984
2 files changed
+52 -1

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ ifneq ($(HAVE_CFGUARD),)
TESTS_CFGUARD = cfguard-test
TESTS_ASAN_CFGUARD = $(TESTS_ASAN)
endif
TESTS_ATOMIC = atomic-helpers
TESTS_ATOMIC = atomic-helpers atomic-load-store
TARGETS_C = $(addsuffix $(EXEEXT), $(TESTS_C))
TARGETS_C_DLL = $(addsuffix $(DLLEXT), $(TESTS_C_DLL))