[ARC] Add SJLI support.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 26 Jan 2018 11:33:42 +0000 (12:33 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 26 Jan 2018 11:33:42 +0000 (12:33 +0100)
commit7778a1ad1fa10f5202ec65838d1d91a0261ce95c
treee2e0ff73897468ae14a2bc56badea78673ba1343
parent6b55f8c92b1ea138ac851389c456820fde8cf026
[ARC] Add SJLI support.

gcc/
2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>

        * config/arc/arc-protos.h: Add arc_is_secure_call_p proto.
        * config/arc/arc.c (arc_handle_secure_attribute): New function.
        (arc_attribute_table): Add 'secure_call' attribute.
        (arc_print_operand): Print secure call operand.
        (arc_function_ok_for_sibcall): Don't optimize tail calls when
        secure.
        (arc_is_secure_call_p): New function.
        * config/arc/arc.md (call_i): Add support for sjli instruction.
        (call_value_i): Likewise.
        * config/arc/constraints.md (Csc): New constraint.

From-SVN: r257082
gcc/ChangeLog
gcc/config/arc/arc-protos.h
gcc/config/arc/arc.c
gcc/config/arc/arc.md
gcc/config/arc/constraints.md
gcc/doc/extend.texi