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/opcode/arc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/opcode') 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