[NDS32] Define and rename some GPR-specific stuff.
authorChung-Ju Wu <jasonwucj@gmail.com>
Wed, 3 Sep 2014 09:16:51 +0000 (09:16 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Wed, 3 Sep 2014 09:16:51 +0000 (09:16 +0000)
commit9d93cc2467714741425e6d78e7b6e147b7992483
treeef5fd3862d9a7baf3ca0c117f578cf5df8c3f919
parent38a0632eb7259f06297ef623ae5066aadc50453f
[NDS32] Define and rename some GPR-specific stuff.

* config/nds32/nds32.c (nds32_function_arg): Define and rename some
GPR-specific stuff.
(nds32_function_arg_advance): Likewise.
(nds32_init_cumulative_args): Likewise.
* config/nds32/nds32.h (NDS32_MAX_GPR_REGS_FOR_ARGS): Define.
(NDS32_FIRST_GPR_REGNUM): Define.
(NDS32_LAST_GPR_REGNUM): Define.
(NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG): Define.
(NDS32_ARG_PASS_IN_REG_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
(FUNCTION_ARG_REGNO_P): Use NDS32_MAX_GPR_REGS_FOR_ARGS.
(machine_function): Use GRP-specific stuff.

From-SVN: r214859
gcc/ChangeLog
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h