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 Fix Solaris symbol versioning (PR libstdc++/52188) 2012-02-27 13:51:50 +00:00
aclocal.m4 libgomp: regenerate with automake-1.11.6 2016-11-30 21:05:33 +03:00
affinity.c Update copyright years. 2017-01-01 13:07:43 +01:00
alloc.c Update copyright years. 2017-01-01 13:07:43 +01:00
atomic.c Update copyright years. 2017-01-01 13:07:43 +01:00
barrier.c Update copyright years. 2017-01-01 13:07:43 +01:00
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 Update copyright years. 2017-01-01 13:07:43 +01:00
env.c Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
error.c Update copyright years. 2017-01-01 13:07:43 +01:00
fortran.c Update copyright years. 2017-01-01 13:07:43 +01:00
hashtab.h Update copyright years. 2017-01-01 13:07:43 +01:00
icv-device.c Update copyright years. 2017-01-01 13:07:43 +01:00
icv.c Update copyright years. 2017-01-01 13:07:43 +01:00
iter.c Update copyright years. 2017-01-01 13:07:43 +01:00
iter_ull.c Update copyright years. 2017-01-01 13:07:43 +01:00
libgomp-plugin.c Update copyright years. 2017-01-01 13:07:43 +01:00
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 Generally link to libgomp for -ftree-parallelize-loops=*. 2013-11-07 16:07:34 +01:00
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 Update copyright years. 2017-01-01 13:07:43 +01:00
libgomp_g.h Update copyright years. 2017-01-01 13:07:43 +01:00
lock.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop.c Update copyright years. 2017-01-01 13:07:43 +01:00
loop_ull.c Update copyright years. 2017-01-01 13:07:43 +01:00
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 Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-host.c Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-init.c Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-int.h Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-mem.c C/C++ OpenACC: acc_pcopyin, acc_pcreate 2017-05-24 15:23:34 +02:00
oacc-parallel.c Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-plugin.c Update copyright years. 2017-01-01 13:07:43 +01:00
oacc-plugin.h Update copyright years. 2017-01-01 13:07:43 +01:00
omp.h.in Update copyright years. 2017-01-01 13:07:43 +01:00
omp_lib.f90.in Update copyright years. 2017-01-01 13:07:43 +01:00
omp_lib.h.in Update copyright years. 2017-01-01 13:07:43 +01:00
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 Update copyright years. 2017-01-01 13:07:43 +01:00
parallel.c Update copyright years. 2017-01-01 13:07:43 +01:00
priority_queue.c Update copyright years. 2017-01-01 13:07:43 +01:00
priority_queue.h Update copyright years. 2017-01-01 13:07:43 +01:00
sections.c Update copyright years. 2017-01-01 13:07:43 +01:00
secure_getenv.h Use secure_getenv for GOMP_DEBUG 2017-06-27 15:51:37 +00:00
single.c Update copyright years. 2017-01-01 13:07:43 +01:00
splay-tree.c Update copyright years. 2017-01-01 13:07:43 +01:00
splay-tree.h Update copyright years. 2017-01-01 13:07:43 +01:00
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 Update copyright years. 2017-01-01 13:07:43 +01:00
taskloop.c Update copyright years. 2017-01-01 13:07:43 +01:00
team.c Update copyright years. 2017-01-01 13:07:43 +01:00
work.c Update copyright years. 2017-01-01 13:07:43 +01:00