system.h (ROUND_UP): New macro definition.
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 2 Oct 2015 18:08:59 +0000 (20:08 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 2 Oct 2015 18:08:59 +0000 (20:08 +0200)
commit54070b515503af0361d0d03851fd0082b2a8258e
tree630acfab2e4be97054b80106ff14ee5ae153ed14
parent1c7485afda66c17e00d3dcdce2ef9bf9106d3cda
system.h (ROUND_UP): New macro definition.

* system.h (ROUND_UP): New macro definition.
(ROUND_DOWN): Ditto.
* ggc-page.c (ROUND_UP): Remove local macro definition.
(PAGE_ALIGN): Implement using ROUND_UP macro.

* config/i386/i386.h (PUSH_ROUNDING): Implement using ROUND_UP macro.
* config/i386/i386.c (function_arg_advance_64): Use ROUND_UP macro
to align values.
(ix86_compute_frame_layout): Ditto.
(ix86_expand_prologue): Ditto.
(ix86_adjust_stack_and_probe): Use ROUND_DOWN macro
to round down values.
(expand_set_or_movmem_via_rep): Ditto.

From-SVN: r228410
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/ggc-page.c
gcc/system.h