gcc/libatomic/config
Wilco Dijkstra 1f641d6aba libatomic: Fix SEQ_CST 128-bit atomic load [PR108891]
The LSE2 ifunc for 16-byte atomic load requires a barrier before the LDP -
without it, it effectively has Load-AcquirePC semantics similar to LDAPR,
which is less restrictive than what __ATOMIC_SEQ_CST requires.  This patch
fixes this and adds comments to make it easier to see which sequence is
used for each case.  Use a load/store exclusive loop for store to simplify
testing memory ordering is correct (it is slightly faster too).

libatomic/
	PR libgcc/108891
	* config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
	Add comments describing the memory order.
2023-03-24 16:51:26 +00:00
..
aarch64 Update copyright years. 2023-01-16 11:52:17 +01:00
arm Update copyright years. 2023-01-16 11:52:17 +01:00
ia64
linux libatomic: Fix SEQ_CST 128-bit atomic load [PR108891] 2023-03-24 16:51:26 +00:00
mingw Update copyright years. 2023-01-16 11:52:17 +01:00
nvptx Update copyright years. 2023-01-16 11:52:17 +01:00
posix Update copyright years. 2023-01-16 11:52:17 +01:00
powerpc
rtems Update copyright years. 2023-01-16 11:52:17 +01:00
s390 s390: libatomic: Fix 16 byte atomic {cas,load,store} 2023-03-03 17:09:46 +01:00
x86 Update copyright years. 2023-01-16 11:52:17 +01:00
t-aix aix: remove libgomp and libatomic archives before creating FAT archives 2020-10-11 17:30:24 -04:00