arc/nps400: Add first nps400 instructions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 15 Mar 2016 22:01:34 +0000 (22:01 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 21 Mar 2016 16:44:50 +0000 (16:44 +0000)
commite23e8ebee364b79556ec05075532da20b317c100
tree3bd8c54e74807f0087043515a4fb481f23de94e3
parent1ae8ab4714eaab3d98fd906cfd6a5fedc469643a
arc/nps400: Add first nps400 instructions

Adds the first few nps400 instructions.

gas/ChangeLog:

* testsuite/gas/arc/nps400-0.d: New file.
* testsuite/gas/arc/nps400-0.s: New file.
* testsuite/gas/arc/nps400-1.d: New file.
* testsuite/gas/arc/nps400-1.s: New file.

include/ChangeLog:

* opcodes/arc.h (insn_class_t): Add BITOP type.

opcodes/ChangeLog:

* arc-nps400-tbl.h: New file.
* arc-opc.c: Add top level comment.
(insert_nps_3bit_dst): New function.
(extract_nps_3bit_dst): New function.
(insert_nps_3bit_src2): New function.
(extract_nps_3bit_src2): New function.
(insert_nps_bitop_size): New function.
(extract_nps_bitop_size): New function.
(arc_flag_operands): Add nps400 entries.
(arc_flag_classes): Add nps400 entries.
(arc_operands): Add nps400 entries.
(arc_opcodes): Add nps400 include.
gas/ChangeLog
gas/testsuite/gas/arc/nps400-0.d [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-0.s [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-1.d [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-1.s [new file with mode: 0644]
include/ChangeLog
include/opcode/arc.h
opcodes/ChangeLog
opcodes/arc-nps400-tbl.h [new file with mode: 0644]
opcodes/arc-opc.c