diff options
author | Rinat Zelig <rinat@mellanox.com> | 2017-03-21 11:37:33 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2017-03-21 11:51:49 +0000 |
commit | 645d3342ba2b920722991255513030bb903b794e (patch) | |
tree | b8f022e5786704b2ff11d32a59bf5d7b343387dd /include | |
parent | 75d7d2986cf896fac8f0690db68ebc552e0b0339 (diff) | |
download | gdb-645d3342ba2b920722991255513030bb903b794e.zip gdb-645d3342ba2b920722991255513030bb903b794e.tar.gz gdb-645d3342ba2b920722991255513030bb903b794e.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/arc.h | 1 |
2 files changed, 5 insertions, 0 deletions
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 <rinat@mellanox.com> + + * opcode/arc.h (insn_class_t): Add DMA class. + 2017-03-16 Nick Clifton <nickc@redhat.com> * 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, |