gcc/libgomp/testsuite
Kwok Cheung Yeung 17dc08edc2 nvptx: Add support for subword compare-and-swap
This adds support for __sync_val_compare_and_swap and
__sync_bool_compare_and_swap for 1-byte and 2-byte long
values, which are not natively supported on nvptx.

Build and reg-tested on nvptx.
Build and reg-tested libgomp on x86_64 with nvptx accelerator.

2020-07-16  Kwok Cheung Yeung  <kcy@codesourcery.com>

	libgcc/
	* config/nvptx/atomic.c: New.
	* config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.

	gcc/testsuite/
	* gcc.target/nvptx/ia64-sync-5.c: New.

	libgomp/
	* testsuite/libgomp.c-c++-common/reduction-16.c: New.
2020-08-13 11:11:55 +02:00
..
config Update copyright years. 2020-01-01 12:51:42 +01:00
lib Removal of HSA offloading from gcc and libgomp 2020-08-03 18:13:00 +02:00
libgomp.c openmp: Add support for non-rectangular loops in taskloop construct 2020-08-13 09:06:05 +02:00
libgomp.c++ c++: Change the default dialect to C++17. 2020-06-26 15:29:07 -04:00
libgomp.c-c++-common nvptx: Add support for subword compare-and-swap 2020-08-13 11:11:55 +02:00
libgomp.fortran openmp: Handle clauses with gimple sequences in convert_nonlocal_omp_clauses properly 2020-08-08 11:10:30 +02:00
libgomp.graphite Update copyright years. 2020-01-01 12:51:42 +01:00
libgomp.oacc-c [testsuite] Unset 'offload_target' after use 2020-07-24 14:00:43 +02:00
libgomp.oacc-c++ [testsuite] Unset 'offload_target' after use 2020-07-24 14:00:43 +02:00
libgomp.oacc-c-c++-common openacc: Deep copy attach/detach should not affect reference counts 2020-07-27 09:16:57 -07:00
libgomp.oacc-fortran [nvptx] Handle V2DI/V2SI mode in nvptx_gen_shuffle 2020-08-04 11:59:08 +02:00
Makefile.am libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
Makefile.in Removal of HSA offloading from gcc and libgomp 2020-08-03 18:13:00 +02:00
libgomp-site-extra.exp.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00
libgomp-test-support.exp.in libgomp/test: Remove a build sysroot fix regression 2020-04-06 23:32:45 +01:00