mips.h (MIPS_STACK_ALIGN): Implement using ROUND_UP macro.
authorUros Bizjak <ubizjak@gmail.com>
Wed, 14 Oct 2015 21:52:37 +0000 (23:52 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 14 Oct 2015 21:52:37 +0000 (23:52 +0200)
commit3a1d601a2ab1aab5977603d8643f298910460f11
tree2f08ddb0540104fa9edd3c69a3a9dd051761153b
parent903eccd1d5e371d7a15e86595f7058eb178c0c04
mips.h (MIPS_STACK_ALIGN): Implement using ROUND_UP macro.

* config/mips/mips.h (MIPS_STACK_ALIGN): Implement using
ROUND_UP macro.
* config/mips/mips.c (mips_setup_incoming_varargs): Use
ROUND_DOWN to calculate off.
(mips_gimplify_va_arg_expr): Use ROUND_UP to calculate rsize.
(mips_emit_probe_stack_range): Use ROUND_DOWN to calculate
rounded_size.

From-SVN: r228829
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h