]> git.ipfire.org Git - people/ms/gcc.git/commit
Various OpenACC reduction enhancements - ME and nvptx changes
authorJulian Brown <julian@codesourcery.com>
Tue, 12 Feb 2019 23:06:55 +0000 (15:06 -0800)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:08 +0000 (14:11 +0100)
commitbce2c92cfec2ae1eb9d79e36dff5a220b688bfa1
tree4906b1b01a65b54afb8706fee9a09a53fd164308
parent3a5e525489f2f808093ae1f12b5d2b406f571ec7
Various OpenACC reduction enhancements - ME and nvptx changes

Parts of the first posting got lost in the second posting, above.
This version hopefully contains everything.

2018-10-30  Cesar Philippidis  <cesar@codesourcery.com>

gcc/
* config/nvptx/nvptx.cc (nvptx_propagate_unified): New.
(nvptx_split_blocks): Call it for cond_uni insn.
(nvptx_expand_cond_uni): New.
(enum nvptx_builtins): Add NVPTX_BUILTIN_COND_UNI.
(nvptx_init_builtins): Initialize it.
(nvptx_expand_builtin):
(nvptx_generate_vector_shuffle): Change integral SHIFT operand to
tree BITS operand.
(nvptx_vector_reduction): New.
(nvptx_adjust_reduction_type): New.
(nvptx_goacc_reduction_setup): Use it to adjust the type of ref_to_res.
(nvptx_goacc_reduction_init): Don't update LHS if it doesn't exist.
(nvptx_goacc_reduction_fini): Call nvptx_vector_reduction for vector.
Use it to adjust the type of ref_to_res.
(nvptx_goacc_reduction_teardown):
* config/nvptx/nvptx.md (cond_uni): New pattern.
gcc/ChangeLog.omp
gcc/config/nvptx/nvptx.cc
gcc/config/nvptx/nvptx.md
gcc/gimplify.cc
gcc/omp-general.h
gcc/omp-low.cc
gcc/omp-offload.cc