This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228960 - 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, 19 Oct 2015 01:13:49 -0000
- Subject: r228960 - in /branches/gomp-4_0-branch/gcc: Cha...
Author: nathan
Date: Mon Oct 19 01:13:49 2015
New Revision: 228960
URL: https://gcc.gnu.org/viewcvs?rev=228960&root=gcc&view=rev
Log:
gcc/
* omp-low.c (struct omp_region): Remove gwv_this field.
(struct omp_context): Remove gwv_this and gwv_belop fields.
(struct oacc_loop): Add marker field.
(enum oacc_loop): Adjust OLF_DIM_BASE initializer.
(extract_oacc_loop_mask): Delete.
(extrac_oacc_routine_gwv): Delete.
(oacc_loop_or_target_p): Delete.
(check_oacc_kernel_gwv): New.
(scan_omp_for): Remove OpenACC gwv mask handling. Check gang,
worker, vector argments.
(scan_omp_1_stmt): Remove OpenACC gwv mask checking.
(lower_oacc_head_mask): Set OLF_AUTO whenever possible. Ensure 1
level of headers.
(find_omp_for_region_gwv): Delete.
(find_omp_for_region_data): Remove gwv setting. Only set
independent field for kernels.
(find_omp_target_region_data): Delete.
(build_omp_regions_1): Set region kind here.
(new_oacc_loop_raw): Initialize marker field.
(new_oacc_loop): Likewise. Don't set mask here.
(new_oacc_loop_routine): Set marker field.
(dump_oacc_loop): Dump marker.
(oacc_loop_walk): Rename to ...
(oacc_loop_discover_walk): ... here. Adjust head & tail
recording.
(oacc_loop_sibling_nreverse): New.
(oacc_loop_discovery): Reverse siblings. Don't dump loops here.
(oacc_loop_process): Adjust & remove asserts.
(oacc_loop_fixed_partitions): New.
(oacc_loop_partition): New.
(execute_oacc_device_lower): Partition loops, neuter unused loop
heads & tails.
gcc/testsuite/
* gcc/testsuite/c-c++-common/goacc/routine-7.c: Adjust diagnostics.
* gcc/testsuite/c-c++-common/goacc/loop-3.c: Adjust diagnostics.
* gcc/testsuite/c-c++-common/goacc/routine-6.c: Adjust diagnostics.
* gcc/testsuite/c-c++-common/goacc/loop-2.c: Adjust diagnostics.
* gcc/testsuite/c-c++-common/goacc/loop-4.c: Adjust diagnostics.
* gcc/testsuite/gfortran.dg/goacc/loop-6.f95: Adjust diagnostics.
* gcc/testsuite/gfortran.dg/goacc/routine-4.f90: Adjust diagnostics.
* gcc/testsuite/gfortran.dg/goacc/routine-5.f90: Adjust diagnostics.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/loop-2.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/loop-3.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/loop-4.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-6.c
branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-7.c
branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/loop-6.f95
branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/routine-4.f90
branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/routine-5.f90