[ARC] Add SYNTAX_NOP and SYNTAX_1OP for extension instructions
authorClaudiu Zissulescu <claziss@synopsys.com>
Tue, 3 May 2016 11:44:13 +0000 (13:44 +0200)
committerClaudiu Zissulescu <claziss@synopsys.com>
Wed, 4 May 2016 14:18:32 +0000 (16:18 +0200)
commit945e0f82dad31db89a107b496532886fe215c011
tree2d9fda4f448c3e7347ffb9cad26bb9a831e70bd8
parentedf689f02787121a49ea0e36cfaa051b06852c8b
[ARC] Add SYNTAX_NOP and SYNTAX_1OP for extension instructions

gas/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

* config/tc-arc.c (syntaxclass): Add SYNTAX_NOP and SYNTAX_1OP.
(arc_extinsn): Handle new introduced syntax.
* testsuite/gas/arc/textinsn1op.d: New file.
* testsuite/gas/arc/textinsn1op.s: Likewise.
* doc/c-arc.texi: Document SYNTAX_NOP and SYNTAX_1OP.

opcodes/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

* arc-ext.c (dump_ARC_extmap): Handle SYNATX_NOP and SYNTAX_1OP.
(arcExtMap_genOpcode): Likewise.
* arc-opc.c (arg_32bit_rc): Define new variable.
(arg_32bit_u6): Likewise.
(arg_32bit_limm): Likewise.

include/
2016-05-03  Claudiu Zissulescu  <claziss@synopsys.com>

* opcode/arc.h (ARC_SYNTAX_1OP): Declare
(ARC_SYNTAX_NOP): Likewsie.
(ARC_OP1_MUST_BE_IMM): Update defined value.
(ARC_OP1_IMM_IMPLIED): Likewise.
(arg_32bit_rc, arg_32bit_u6, arg_32bit_limm): Declare.
gas/ChangeLog
gas/config/tc-arc.c
gas/doc/c-arc.texi
gas/testsuite/gas/arc/textinsn1op.d [new file with mode: 0644]
gas/testsuite/gas/arc/textinsn1op.s [new file with mode: 0644]
include/ChangeLog
include/opcode/arc.h
opcodes/ChangeLog
opcodes/arc-ext.c
opcodes/arc-opc.c