From e23e8ebee364b79556ec05075532da20b317c100 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Tue, 15 Mar 2016 22:01:34 +0000 Subject: 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. --- include/ChangeLog | 4 ++++ include/opcode/arc.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') 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 + * opcodes/arc.h (insn_class_t): Add BITOP type. + +2016-03-21 Andrew Burgess + * 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. */ -- cgit v1.1