[ARC] Enhance enter/leave mnemonics.
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 25 Apr 2017 15:07:00 +0000 (17:07 +0200)
committerclaziss <claziss@synopsys.com>
Tue, 25 Apr 2017 15:07:00 +0000 (17:07 +0200)
commit126124cc0f3f0417913bfd84d83e4e525b6facf9
tree3b25064e723e5cc5c9a7d5053333f31413570795
parentbe6a24d8eabdbeef32a9d79e81307af4491fcf56
[ARC] Enhance enter/leave mnemonics.

enter/leave mnemonics are enhanced to not only accept register ranges
but also single register (i.e., r13) or even no GPR register at all.

gas/
2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>

* testsuite/gas/arc/leave_enter.d: Update test.
* testsuite/gas/arc/leave_enter.s: Likewise.

opcodes/
2017-04-25  Claudiu Zissulescu  <claziss@synopsys.com>

* arc-dis.c (print_insn_arc): Smartly print enter/leave mnemonics.
* arc-opc.c (insert_r13el): New function.
(R13_EL): Define.
* arc-tbl.h: Add new enter/leave variants.
gas/ChangeLog
gas/testsuite/gas/arc/leave_enter.d
gas/testsuite/gas/arc/leave_enter.s
opcodes/ChangeLog
opcodes/arc-dis.c
opcodes/arc-opc.c
opcodes/arc-tbl.h