[NDS32] Consider TARGET_CMODEL_LARGE for function call instructions.
authorChung-Ju Wu <jasonwucj@gmail.com>
Tue, 13 Jan 2015 05:37:07 +0000 (05:37 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Tue, 13 Jan 2015 05:37:07 +0000 (05:37 +0000)
commit1f7b80289aa9a25587e711a58220a5ba9bcfd0e0
tree23be476ef4afacf147ad10a39ba708ca0657fd8e
parent77b7a1ca23b82f89ddf3561c5a7ea0cd83983b59
[NDS32] Consider TARGET_CMODEL_LARGE for function call instructions.

gcc/
* config/nds32/nds32.md (call): Use pseudo instruction bal which
clobbers TA_REGNUM if large code model is specified.
(call_register): Likewise.
(call_immediate): Likewise.
(call_value): Likewise.
(call_value_register): Likewise.
(call_value_immediate): Likewise.

From-SVN: r219512
gcc/ChangeLog
gcc/config/nds32/nds32.md