r267261 - in /trunk/gcc: ChangeLog config/nvptx...
vries@gcc.gnu.org
vries@gcc.gnu.org
Wed Dec 19 10:17:00 GMT 2018
Author: vries
Date: Wed Dec 19 10:17:31 2018
New Revision: 267261
URL: https://gcc.gnu.org/viewcvs?rev=267261&root=gcc&view=rev
Log:
[nvptx] Use MAX, MIN, ROUND_UP macros
Use MAX, MIN, and ROUND_UP macros to simplify code.
Build and reg-tested on x86_64 with nvptx accelerator.
2018-12-19 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (nvptx_gen_shared_bcast, shared_prop_gen)
(nvptx_goacc_expand_accel_var): Use MAX and ROUND_UP.
(nvptx_assemble_value, nvptx_output_skip): Use MIN.
(nvptx_shared_propagate, nvptx_single, nvptx_expand_shared_addr): Use
MAX.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nvptx/nvptx.c
More information about the Gcc-cvs
mailing list