[NDS32] Refine call and return patterns.
authorChung-Ju Wu <jasonwucj@gmail.com>
Fri, 6 Apr 2018 18:27:51 +0000 (18:27 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Fri, 6 Apr 2018 18:27:51 +0000 (18:27 +0000)
commitf46706733954c2868af5e91687931538600b2a92
tree61f2b4dbc5db5bcc31502cc3ed02c49fd06b8848
parent96975b1159808defb222a57b369db02a0eab5fee
[NDS32] Refine call and return patterns.

gcc/
* config/nds32/nds32-md-auxiliary.c (nds32_output_return,
nds32_output_call, nds32_symbol_binds_local_p): New functions.
* config/nds32/nds32-protos.h (nds32_output_call,
nds32_output_return): Declare.
* config/nds32/nds32.md: Refine all the call and return patterns.

Co-Authored-By: Kito Cheng <kito.cheng@gmail.com>
From-SVN: r259186
gcc/ChangeLog
gcc/config/nds32/nds32-md-auxiliary.c
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.md