arc/nps400: Add new instructions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 28 Mar 2016 22:05:09 +0000 (23:05 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 7 Apr 2016 17:36:40 +0000 (18:36 +0100)
commita42a4f8400ee232ceed5ecceb61873195984f1d9
tree5f158b39eca25d1464029f1a8fd3bd28d8a49670
parent1328504b287b2c284419d989e0d05e7d6d3ffa59
arc/nps400: Add new instructions

Add some new control instructions to the opcodes library, and a new test
for these new instructions to the assembler.  The new instructions use
an instruction flag longer than any seen before (on arc), and so the max
flag length is extended to accommodate this.

gas/ChangeLog:

* config/tc-arc.h (MAX_FLAG_NAME_LENGTH): Increase to 7.
* testsuite/gas/arc/nps400-2.d: New file.
* testsuite/gas/arc/nps400-2.s: New file.

opcodes/ChangeLog:

* arc-nps400-tbl.h: Add schd, sync, and hwschd instructions.
* arc-opc.c (arc_flag_operands): Add new flags.
(arc_flag_classes): Add new classes.
gas/ChangeLog
gas/config/tc-arc.h
gas/testsuite/gas/arc/nps400-2.d [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arc-nps400-tbl.h
opcodes/arc-opc.c