[NDS32] Refine call and return patterns

Programming / Compilers / GCC - jasonwucj [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 April 2018 18:27 EDT

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.

d0c89a9d656 [NDS32] Refine call and return patterns.
gcc/ChangeLog | 9 ++
gcc/config/nds32/nds32-md-auxiliary.c | 92 ++++++++++++++++++++
gcc/config/nds32/nds32-protos.h | 4 +
gcc/config/nds32/nds32.md | 159 ++++++++++++++++++++++------------
4 files changed, 211 insertions(+), 53 deletions(-)

Upstream: gcc.gnu.org


  • Share