From 645d3342ba2b920722991255513030bb903b794e Mon Sep 17 00:00:00 2001 From: Rinat Zelig Date: Tue, 21 Mar 2017 11:37:33 +0000 Subject: arc/nps400: Add cp16/cp32 instructions to opcodes library Instructions for loading or storing 16/32B data from one address type to another. gas/ChangeLog * testsuite/gas/arc/nps400-11.s: New file. * testsuite/gas/arc/nps400-11.d: New file. include/ChangeLog * opcode/arc.h (insn_class_t): Add DMA class. opcodes/ChangeLog * arc-nps400-tbl.h: Add cp32/cp16 instructions format. * arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET. (insert_nps_imm_offset): New function. (extract_nps_imm_offset): New function. (insert_nps_imm_entry): New function. (extract_nps_imm_entry): New function. --- 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 eacfeb9a..eae3138 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2017-03-21 Rinat Zelig + + * opcode/arc.h (insn_class_t): Add DMA class. + 2017-03-16 Nick Clifton * elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD diff --git a/include/opcode/arc.h b/include/opcode/arc.h index f263fff..3914dc0 100644 --- a/include/opcode/arc.h +++ b/include/opcode/arc.h @@ -53,6 +53,7 @@ typedef enum BRCC, CONTROL, DIVREM, + DMA, DPI, DSP, EI, -- cgit v1.1