This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226531 - 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, 03 Aug 2015 20:40:35 -0000
- Subject: r226531 - in /branches/gomp-4_0-branch: gcc/Cha...
Author: nathan
Date: Mon Aug 3 20:40:34 2015
New Revision: 226531
URL: https://gcc.gnu.org/viewcvs?rev=226531&root=gcc&view=rev
Log:
gcc/
* internal-fn.def (GOACC_DIM_SIZE, GOACC_DFIM_POS): New.
* internal-fn.c (expand_GOACC_DIM_SIZE, expand_GOACC_DIM_POS): New.
* config/nvptx.md (UNSPEC_NID, UNSPEC_ID): Rename to ...
(UNSPEC_DIM_SIZE, UNSPEC_DIM_POS): ... here.
(oacc_nid, oacc_id): Rename to ...
(oacc_dim_size, oacc_dim_pos): ... here. Adjust.
* config/nvptx.c (nvptx_single): Adjust.
* omp-low.c (expand_oacc_get_num_threads,
expand_oacc_get_thread_num, oacc_init_count_vars): Use new
internal builtins.
* omp-builtins.def (BUILT_IN_GOACC_ID, BUILT_IN_GOACC_NID): Delete.
* builtins.c (expand_oacc_id): Delete.
(expand_builtin, is_simpe_biltin): Adjust.
libgomp/
* testuite/libgomp.oacc-c-c++-common/gang-static-2.c: Use asm insert.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/builtins.c
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/internal-fn.c
branches/gomp-4_0-branch/gcc/internal-fn.def
branches/gomp-4_0-branch/gcc/omp-builtins.def
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/gang-static-2.c