gcc/libgomp
Tom de Vries 3717fbe35e Add v2di support for nvptx
2017-07-19  Tom de Vries  <tom@codesourcery.com>

	* config/nvptx/nvptx-modes.def: Add V2DImode.
	* config/nvptx/nvptx-protos.h (nvptx_data_alignment): Declare.
	* config/nvptx/nvptx.c (nvptx_ptx_type_from_mode): Handle V2DImode.
	(nvptx_output_mov_insn): Handle lack of mov.b128.
	(nvptx_print_operand): Handle 'H' and 'L' codes.
	(nvptx_vector_mode_supported): Allow V2DImode.
	(nvptx_preferred_simd_mode): New function.
	(nvptx_data_alignment): New function.
	(TARGET_VECTORIZE_PREFERRED_SIMD_MODE): Redefine to
	nvptx_preferred_simd_mode.
	* config/nvptx/nvptx.h (STACK_BOUNDARY, BIGGEST_ALIGNMENT): Change from
	64 to 128 bits.
	(DATA_ALIGNMENT): Define.  Set to nvptx_data_alignment.

	* config/nvptx/nvptx.md (VECIM): Add V2DI.

	* gcc.target/nvptx/decl-init.c: Update alignment.
	* gcc.target/nvptx/slp-2-run.c: New test.
	* gcc.target/nvptx/slp-2.c: New test.
	* gcc.target/nvptx/v2di.c: New test.

	* testsuite/libgomp.oacc-c/vec.c: New test.

From-SVN: r250341
2017-07-19 13:05:35 +00:00
..
config re PR libgomp/80822 (libgomp incorrect affinity when OMP_PLACES=threads) 2017-05-30 14:05:30 +02:00
plugin Fix secure_getenv.h include in plugin-hsa.c 2017-07-03 13:40:19 +00:00
testsuite Add v2di support for nvptx 2017-07-19 13:05:35 +00:00
ChangeLog Add v2di support for nvptx 2017-07-19 13:05:35 +00:00
ChangeLog.graphite
Makefile.am re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
acinclude.m4
aclocal.m4
affinity.c
alloc.c
atomic.c
barrier.c
config.h.in configfrag.ac: For --without-cuda-driver don't initialize CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB. 2017-01-17 10:44:17 +01:00
configure configfrag.ac: For --without-cuda-driver don't initialize CUDA_DRIVER_INCLUDE nor CUDA_DRIVER_LIB. 2017-01-17 10:44:17 +01:00
configure.ac re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
configure.tgt re PR bootstrap/80531 (RC1 bootstrap comparison failure) 2017-04-27 22:03:01 +02:00
critical.c
env.c Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
error.c
fortran.c
hashtab.h
icv-device.c
icv.c
iter.c
iter_ull.c
libgomp-plugin.c
libgomp-plugin.h libgomp: Normalize the names of a few functions of the libgomp plugin API 2017-02-02 15:13:57 +01:00
libgomp.h C/C++ OpenACC: acc_pcopyin, acc_pcreate 2017-05-24 15:23:34 +02:00
libgomp.map OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
libgomp.spec.in
libgomp.texi OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
libgomp_f.h.in
libgomp_g.h
lock.c
loop.c
loop_ull.c
oacc-async.c OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
oacc-cuda.c
oacc-host.c
oacc-init.c
oacc-int.h
oacc-mem.c C/C++ OpenACC: acc_pcopyin, acc_pcreate 2017-05-24 15:23:34 +02:00
oacc-parallel.c
oacc-plugin.c
oacc-plugin.h
omp.h.in
omp_lib.f90.in
omp_lib.h.in
openacc.f90 OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
openacc.h OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
openacc_lib.h OpenACC 1.0 compatibility: acc_async_wait, acc_async_wait_all 2017-05-24 15:25:01 +02:00
ordered.c
parallel.c
priority_queue.c
priority_queue.h
sections.c
secure_getenv.h Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
single.c
splay-tree.c
splay-tree.h
target.c libgomp: Normalize the names of a few functions of the libgomp plugin API 2017-02-02 15:13:57 +01:00
task.c
taskloop.c
team.c
work.c