nvptx.c (nvptx_maybe_convert_symbolic_operand): Remove UNSPEC_TO_GENERIC generation.
authorNathan Sidwell <nathan@acm.org>
Fri, 18 Dec 2015 20:18:42 +0000 (20:18 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 18 Dec 2015 20:18:42 +0000 (20:18 +0000)
commit15113b03f161992db3d6c609f37e8b42ba775ea3
treef2d4126dd7c019786ae9314d43be7313dff8884c
parent266cc0c181549c2fb6b50f8f26213cdc89101026
nvptx.c (nvptx_maybe_convert_symbolic_operand): Remove UNSPEC_TO_GENERIC generation.

* config/nvptx/nvptx.c (nvptx_maybe_convert_symbolic_operand):
Remove UNSPEC_TO_GENERIC generation.
(nvptx_output_mov_insn): Generate cvta for symbolic src.
* config/nvptx/nvptx.md (nvptx_register_operand): Allow hard reg.
(nvptx_reg_or_mem_operand): Likewise.
(nvptx_nonmemory_operand): Likewise.
(nvptx_general_operand): Delete.
(*mov<mode>_insn): Use nonimmediate_operand, permit hardregs.
(oacc_fork, oacc_join): Use general_operand.

From-SVN: r231837
gcc/ChangeLog
gcc/config/nvptx/nvptx.c
gcc/config/nvptx/nvptx.md