gcc/libgcc/config/aarch64
Sebastian Pop bc25483c05 [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-13 17:09:43 +00:00
..
aarch64-unwind.h
crtfastmath.c
crti.S
crtn.S
freebsd-unwind.h
libgcc-softfp.ver
linux-unwind.h
lse-init.c
lse.S [AArch64] add barriers to ool __sync builtins 2022-05-13 17:09:43 +00:00
sfp-exceptions.c
sfp-machine.h
sync-cache.c
t-aarch64
t-lse [AArch64] add barriers to ool __sync builtins 2022-05-13 17:09:43 +00:00
t-softfp
value-unwind.h