gcc/libgcc/config
Sebastian Pop 5251647c84 [AArch64] add barriers to ool __sync builtins
2022-05-13  Sebastian Pop  <spop@amazon.com>

gcc/
	PR target/105162
	* config/aarch64/aarch64-protos.h (atomic_ool_names): Increase dimension
	of str array.
	* config/aarch64/aarch64.cc (aarch64_atomic_ool_func): Call
	memmodel_from_int and handle MEMMODEL_SYNC_*.
	(DEF0): Add __aarch64_*_sync functions.

gcc/testsuite/
	PR target/105162
	* gcc.target/aarch64/sync-comp-swap-ool.c: New.
	* gcc.target/aarch64/sync-op-acquire-ool.c: New.
	* gcc.target/aarch64/sync-op-full-ool.c: New.
	* gcc.target/aarch64/target_attr_20.c: Update check.
	* gcc.target/aarch64/target_attr_21.c: Same.

libgcc/
	PR target/105162
	* config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
	* config/aarch64/t-lse: Add a 5th memory model for _sync functions.
2022-05-16 14:43:20 +00:00
..
aarch64 [AArch64] add barriers to ool __sync builtins 2022-05-16 14:43:20 +00:00
alpha Update copyright years. 2022-01-03 10:42:10 +01:00
arc arc: Add DWARF2 alternate CFA column. 2022-01-14 12:24:52 +02:00
arm Update copyright years. 2022-01-03 10:42:10 +01:00
avr Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
bfin Update copyright years. 2022-01-03 10:42:10 +01:00
bpf
c6x Update copyright years. 2022-01-03 10:42:10 +01:00
cr16 Update copyright years. 2022-01-03 10:42:10 +01:00
cris Update copyright years. 2022-01-03 10:42:10 +01:00
csky Update copyright years. 2022-01-03 10:42:10 +01:00
epiphany Update copyright years. 2022-01-03 10:42:10 +01:00
fr30 Update copyright years. 2022-01-03 10:42:10 +01:00
frv Update copyright years. 2022-01-03 10:42:10 +01:00
ft32 Update copyright years. 2022-01-03 10:42:10 +01:00
gcn GCN: Implement __atomic_compare_exchange_{1,2} in libgcc [PR102215] 2022-03-09 19:34:48 +01:00
h8300 Update copyright years. 2022-01-03 10:42:10 +01:00
i386 libgcc: Fix __gthr_i486_lock_cmp_xchg clobber for Windows 2022-01-15 13:32:05 +00:00
ia64 libgcc: IA64: don't compile glibc-based unwinder without libc headers 2022-04-08 08:01:06 +01:00
iq2000 Update copyright years. 2022-01-03 10:42:10 +01:00
libbid Update ChangeLog and version files for release 2022-05-06 07:07:53 +00:00
lm32 Update copyright years. 2022-01-03 10:42:10 +01:00
loongarch LoongArch Port: libgcc 2022-03-29 17:43:35 +08:00
m32c Update copyright years. 2022-01-03 10:42:10 +01:00
m32r Update copyright years. 2022-01-03 10:42:10 +01:00
m68k libgcc: m68k: avoid TEXTRELs in shared library (PR 86224) 2022-03-19 15:14:21 -04:00
mcore Update copyright years. 2022-01-03 10:42:10 +01:00
microblaze Update copyright years. 2022-01-03 10:42:10 +01:00
mips Update copyright years. 2022-01-03 10:42:10 +01:00
mmix Update copyright years. 2022-01-03 10:42:10 +01:00
moxie Update copyright years. 2022-01-03 10:42:10 +01:00
msp430 Update copyright years. 2022-01-03 10:42:10 +01:00
nds32 Update copyright years. 2022-01-03 10:42:10 +01:00
nios2 Update copyright years. 2022-01-03 10:42:10 +01:00
nvptx Update copyright years. 2022-01-03 10:42:10 +01:00
or1k Update copyright years. 2022-01-03 10:42:10 +01:00
pa Update copyright years. 2022-01-03 10:42:10 +01:00
pdp11
pru Update copyright years. 2022-01-03 10:42:10 +01:00
riscv Update copyright years. 2022-01-03 10:42:10 +01:00
rl78 Update copyright years. 2022-01-03 10:42:10 +01:00
rs6000 Darwin, libgcc: Fix build errors on powerpc-darwin8. 2022-03-04 16:44:54 +00:00
rx Update copyright years. 2022-01-03 10:42:10 +01:00
s390 Update copyright years. 2022-01-03 10:42:10 +01:00
score Update copyright years. 2022-01-03 10:42:10 +01:00
sh Update copyright years. 2022-01-03 10:42:10 +01:00
sol2 Update copyright years. 2022-01-03 10:42:10 +01:00
sparc Update copyright years. 2022-01-03 10:42:10 +01:00
stormy16 Update copyright years. 2022-01-03 10:42:10 +01:00
tilegx
tilepro Update copyright years. 2022-01-03 10:42:10 +01:00
v850 Update copyright years. 2022-01-03 10:42:10 +01:00
vax Update copyright years. 2022-01-03 10:42:10 +01:00
visium Update copyright years. 2022-01-03 10:42:10 +01:00
vms Update copyright years. 2022-01-03 10:42:10 +01:00
xtensa Update copyright years. 2022-01-03 10:42:10 +01:00
darwin10-unwind-find-enc-func.c Darwin, crts: Fix a build warning. 2021-11-05 20:48:05 +00:00
darwin-64.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-crt3.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-crt-tm.c Update copyright years. 2022-01-03 10:42:10 +01:00
darwin-unwind.ver libgcc, Darwin: Build a libgcc_s.1 for backwards compatibility. 2021-12-08 19:53:28 +00:00
gthr-lynx.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-rtems.h Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-cond.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-thread.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks-tls.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks.c Update copyright years. 2022-01-03 10:42:10 +01:00
gthr-vxworks.h Update copyright years. 2022-01-03 10:42:10 +01:00
hardfp.c Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-glibc.ver Update copyright years. 2022-01-03 10:42:10 +01:00
libgcc-libsystem.ver Darwin: Rework handling for unwinder code in libgcc_s and specs [PR80556]. 2021-11-19 19:58:11 +00:00
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin libgcc, Darwin: Update darwin10 unwinder shim dependencies. 2021-12-10 23:15:15 +00:00
t-darwin-ehs Darwin, libgcc: Fix build errors on powerpc-darwin8. 2022-03-04 16:44:54 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-gthr-noweak
t-gthr-vxworks
t-gthr-vxworksae
t-hardfp Update copyright years. 2022-01-03 10:42:10 +01:00
t-hardfp-sfdf Update copyright years. 2022-01-03 10:42:10 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2022-01-03 10:42:10 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-darwin libgcc, Darwin: Add missing build dependencies. 2021-12-17 10:12:53 +00:00
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2022-01-03 10:42:10 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld
t-slibgcc-vms
t-softfp Update copyright years. 2022-01-03 10:42:10 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxcrtstuff
t-vxcrtstuffS Tigthen libc_internal and crtstuff for VxWorks shared objects 2021-12-13 18:03:03 +00:00
t-vxworks Preserve cpu specific CRTSTUFF_T_CFLAGS on powerpc-vxworks7 2021-12-13 17:59:54 +00:00
t-vxworksae
unwind-dw2-fde-darwin.c Update copyright years. 2022-01-03 10:42:10 +01:00
vxcrtstuff.c Tigthen libc_internal and crtstuff for VxWorks shared objects 2021-12-13 18:03:03 +00:00