rs6000.h (RS6000_ALIGN): Implement using ROUND_UP macro.
authorUros Bizjak <ubizjak@gmail.com>
Mon, 12 Oct 2015 13:59:10 +0000 (15:59 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 12 Oct 2015 13:59:10 +0000 (15:59 +0200)
commit4f59f9f2155491918d6d1fbb9287a01f9c0e2f79
treec93bd6890b5404d0f56c7eb600ba7227f0339dc0
parent73fb742dc21731162383dffb76f98e70d75af450
rs6000.h (RS6000_ALIGN): Implement using ROUND_UP macro.

* config/rs6000/rs6000.h (RS6000_ALIGN): Implement using
ROUND_UP macro.
* config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_flush):
Use ROUND_UP and ROUND_DOWN macros where applicable.
(rs6000_darwin64_record_arg_flush): Ditto.
(rs6000_function_arg): Use ROUND_UP to calculate align_words.
(rs6000_emit_probe_stack_range): Use ROUND_DOWN to calculate
rounded_size.

* config/aarch/aarch64.h (AARCH64_ROUND_UP): Remove.
(AARCH64_ROUND_DOWN): Ditto.
* config/aarch64/aarch64.c: Use ROUND_UP instead of AARCH64_ROUND_UP.

From-SVN: r228715
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/aarch64/aarch64.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h