r226398 - in /branches/gomp-4_0-branch/gcc: Cha...

nathan@gcc.gnu.org nathan@gcc.gnu.org
Thu Jul 30 11:25:00 GMT 2015


Author: nathan
Date: Thu Jul 30 11:25:32 2015
New Revision: 226398

URL: https://gcc.gnu.org/viewcvs?rev=226398&root=gcc&view=rev
Log:
	gcc/
	* config/nvptx/nvptx.mc (UNSPEC_BROADCAST, UNSPEC_SHFL_DOWN):
	Replace with ...
	(UNSPEC_SHUFFLE): ... this.
	(nvptx_broadcast<mode>): Replace with ...
	(nvptx_shuffle<mode>): ... this.
	(thread_shuffle_down<mode>,  thread_shiffle_downdi): Delete.
	* config/nvptx/nvptx.c (SHUFFLE_UP, SHUFFLE_DOWN, SHUFFLE_BFLY,
	SHUFFLE_IDX): New defines.
	(nvptx_gen_shuffle): Break out of nvptx_gen_vcast and generalize.
	(nvptx_gen_vcast): Use nvptx_gen_shuffle.
	(nvptx_print_operand): Add 'S' case.
	(nvptx_cannot_copy_insn_p): Adjust.
	(nvptx_expand_shuffle_down): New builtin expander for shuffles.
	(enum nvptx_types): Add NT_DBL_DBL_INT case.
	(struct builtin_descriptor): Use ptr to fn for expander.  Remove
	icode and num_args.
	(builtins): Adjust.
	(nvptx_init_builtins): Adjust.
	(nvptx_expand_builtin): Invoke builtin-specific expander function.

Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/config/nvptx/nvptx.c
    branches/gomp-4_0-branch/gcc/config/nvptx/nvptx.md



More information about the Gcc-cvs mailing list