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
..
2017-05-30 14:05:30 +02:00
2017-07-03 13:40:19 +00:00
2017-07-19 13:05:35 +00:00
2016-11-30 21:05:33 +03:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-07-19 13:05:35 +00:00
2017-01-17 10:44:17 +01:00
2017-01-17 10:44:17 +01:00
2017-01-17 10:38:48 +01:00
2017-04-27 22:03:01 +02:00
2017-01-01 13:07:43 +01:00
2017-06-27 15:51:37 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-02-02 15:13:57 +01:00
2017-05-24 15:23:34 +02:00
2017-05-24 15:25:01 +02:00
2017-05-24 15:25:01 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-17 10:38:48 +01:00
2017-01-17 10:38:48 +01:00
2017-05-24 15:25:01 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-24 15:23:34 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-05-24 15:25:01 +02:00
2017-05-24 15:25:01 +02:00
2017-05-24 15:25:01 +02:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-06-27 15:51:37 +00:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-02-02 15:13:57 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00
2017-01-01 13:07:43 +01:00