This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228713 - in /branches/gomp-4_0-branch/gcc: Cha...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 12 Oct 2015 13:01:27 -0000
- Subject: r228713 - in /branches/gomp-4_0-branch/gcc: Cha...
Author: nathan
Date: Mon Oct 12 13:01:27 2015
New Revision: 228713
URL: https://gcc.gnu.org/viewcvs?rev=228713&root=gcc&view=rev
Log:
* omp-low.c (expand_omp_for_static_nochunk): Remove OpenACC
pieces.
(expand_omp_for_static_chunk): Likewise,
(struct oacc_collapse): New.
(expand_oacc_collapse_init, expand_oacc_collapse_vars): New.
(expand_oacc_for): New.
(expand_omp_for): Call expand_oacc_for for OpenACC loops.
(oacc_xform_loop): New.
(execute_oacc_device_lower): Call it.
* internal-fn.def (GOACC_LOOP): New internal fn.
(IFN_GOACC_LOOP_CHUNKS, IFN_GOACC_LOOP_STEP,
IFN_GOACC_LOOP_OFFSET, IFN_GOACC_LOOP_BOUND): New.
* internal-fn.c (expand_GOACC_LOOP): New.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/internal-fn.c
branches/gomp-4_0-branch/gcc/internal-fn.def
branches/gomp-4_0-branch/gcc/omp-low.c