This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r227180 - 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: Tue, 25 Aug 2015 19:12:25 -0000
- Subject: r227180 - in /branches/gomp-4_0-branch/gcc: Cha...
Author: nathan
Date: Tue Aug 25 19:12:24 2015
New Revision: 227180
URL: https://gcc.gnu.org/viewcvs?rev=227180&root=gcc&view=rev
Log:
* targhooks.h (default_goacc_lock_unlock): Rename to ...
(default_goacc_lock): ... here. Adjust.
* config/nvptx/nvptx.md (oacc_expand_lock, oacc_expand_unlock):
Adjust call to lock expander.
(oacc_expand_lock_init): New.
(nvptx_spinlock, nvptx_spinunlock): Rename to ...
(nvptx_spin_lock, nvtx_spin_reset): ... here.
* config/nvptx/ntptx.c (nvptx_expand_oacc_lock_unlock): Rename to ...
(nvptx_expand_oacc_lock): ... here. Deal with init too.
(nvptx_xform_lock_unlock): Rename to ...
(nvptx_xform_lock): ... here. Deal with init too.
(TARGET_GOACC_LOCK_UNLOCK): Replace with ...
(TARGET_GOACC_LOCK): ... this.
* omp-low.c (exectute_oacc_transform): Deal with
IFN_GOACC_LOCK_INIT.
(default_goacc_lock_unlock): Rename to ...
(default_goacc_lock): ... here. Deal with init too.
* internal-fn.c (expand_GOACC_LOCK_INIT): New.
* internal-fn.def (GOACC_LOCK_INIT): New.
* doc/tm.texi.in (TARGET_GOACC_LOCK_UNLOCK): Replace with ...
(TARGET_GOACC_LOCK): ... this.
* doc/tm.texi: Rebuilt.
* target.def (goacc lock_unlock): Replace with ...
(goacc lock): ... this. Deal with init too.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/config/nvptx/nvptx-protos.h
branches/gomp-4_0-branch/gcc/config/nvptx/nvptx.c
branches/gomp-4_0-branch/gcc/config/nvptx/nvptx.md
branches/gomp-4_0-branch/gcc/doc/tm.texi
branches/gomp-4_0-branch/gcc/doc/tm.texi.in
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
branches/gomp-4_0-branch/gcc/target.def
branches/gomp-4_0-branch/gcc/targhooks.h