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.
This commit is contained in:
Rinat Zelig
2017-03-21 11:37:33 +00:00
committed by Andrew Burgess
parent 75d7d2986c
commit 645d3342ba
8 changed files with 900 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ typedef enum
BRCC,
CONTROL,
DIVREM,
DMA,
DPI,
DSP,
EI,