arc/nps400: Add cp16/cp32 instructions to opcodes library
authorRinat Zelig <rinat@mellanox.com>
Tue, 21 Mar 2017 11:37:33 +0000 (11:37 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 21 Mar 2017 11:51:49 +0000 (11:51 +0000)
commit645d3342ba2b920722991255513030bb903b794e
treeb8f022e5786704b2ff11d32a59bf5d7b343387dd
parent75d7d2986cf896fac8f0690db68ebc552e0b0339
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.
gas/ChangeLog
gas/testsuite/gas/arc/nps400-11.d [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-11.s [new file with mode: 0644]
include/ChangeLog
include/opcode/arc.h
opcodes/ChangeLog
opcodes/arc-nps400-tbl.h
opcodes/arc-opc.c