nios2.c (save_reg, [...]): Use plus_constant.
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 5 Jul 2015 02:56:18 +0000 (22:56 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sun, 5 Jul 2015 02:56:18 +0000 (22:56 -0400)
commit9d07490f09ebb24ea3fd58237878fff6ca676f99
tree0011eb7fe9ce97b78952ed79530e7cc81ed8423f
parent239c34bfbdccf74267a4fb1ed4033cfa35b345b4
nios2.c (save_reg, [...]): Use plus_constant.

2015-07-04  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/nios2/nios2.c (save_reg, restore_reg): Use plus_constant.
Use rtx_insn * instead of rtx.
(nios2_emit_add_constant): Use rtx_insn * instead of rtx.
(nios2_expand_prologue, nios2_expand_epilogue): Likewise.
(nios2_call_tls_get_addr): Likewise.
(nios2_emit_expensive_div): Likewise.
(nios2_emit_move_sequence): Change return type to bool.
* config/nios2/nios2-protos.h (nios2_emit_move_sequence):
Change return type to bool.

From-SVN: r225420
gcc/ChangeLog
gcc/config/nios2/nios2-protos.h
gcc/config/nios2/nios2.c