diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-15 22:01:34 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2016-03-21 16:44:50 +0000 |
commit | e23e8ebee364b79556ec05075532da20b317c100 (patch) | |
tree | 3bd8c54e74807f0087043515a4fb481f23de94e3 /include | |
parent | 1ae8ab4714eaab3d98fd906cfd6a5fedc469643a (diff) | |
download | gdb-e23e8ebee364b79556ec05075532da20b317c100.zip gdb-e23e8ebee364b79556ec05075532da20b317c100.tar.gz gdb-e23e8ebee364b79556ec05075532da20b317c100.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/arc.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index edb91ea..b99c7c6 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,9 @@ 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com> + * opcodes/arc.h (insn_class_t): Add BITOP type. + +2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com> + * opcode/arc.h (flag_class_t): Remove all old flag classes, add 3 new classes instead. diff --git a/include/opcode/arc.h b/include/opcode/arc.h index 3310c10..ee2ebfa 100644 --- a/include/opcode/arc.h +++ b/include/opcode/arc.h @@ -46,6 +46,7 @@ typedef enum KERNEL, LOGICAL, MEMORY, + BITOP, } insn_class_t; /* Instruction Subclass. */ |