This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r228418 - in /trunk: gcc/ChangeLog gcc/config/n...


Author: tschwinge
Date: Fri Oct  2 19:43:41 2015
New Revision: 228418

URL: https://gcc.gnu.org/viewcvs?rev=228418&root=gcc&view=rev
Log:
nvptx offloading linking

	gcc/
	* config/nvptx/mkoffload.c (Kind, Vis): Remove enums.
	(Token, Stmt): Remove structs.
	(decls, vars, fns): Remove variables.
	(alloc_comment, append_stmt, is_keyword): Remove macros.
	(tokenize, write_token, write_tokens, alloc_stmt, rev_stmts)
	(write_stmt, write_stmts, parse_insn, parse_list_nosemi)
	(parse_init, parse_file): Remove functions.
	(read_file): Accept a pointer to a length and store into it.
	(process): Don't try to parse the input file, just write it out as
	a string, but looking for maps.  Also write out the length.
	(main): Don't use "-S" to compile PTX code.

	libgomp/
	* oacc-ptx.h: Remove file, moving its content into...
	* config/nvptx/fortran.c: ... here...
	* config/nvptx/oacc-init.c: ..., here...
	* config/nvptx/oacc-parallel.c: ..., and here.
	* config/nvptx/openacc.f90: New file.
	* plugin/plugin-nvptx.c: Don't include "oacc-ptx.h".
	(link_ptx): Don't link in predefined bits of PTX code.

Added:
    trunk/libgomp/config/nvptx/openacc.f90
Removed:
    trunk/libgomp/oacc-ptx.h
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/nvptx/mkoffload.c
    trunk/libgomp/ChangeLog
    trunk/libgomp/config/nvptx/fortran.c
    trunk/libgomp/config/nvptx/oacc-init.c
    trunk/libgomp/config/nvptx/oacc-parallel.c
    trunk/libgomp/oacc-init.c
    trunk/libgomp/plugin/plugin-nvptx.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]