arc: Implement NPS-400 dcmac instruction

gas/ChangeLog:

       * testsuite/gas/arc/nps-400-9.d: Added.
       * testsuite/gas/arc/nps-400-9.s: Added.

include/ChangeLog:

       * opcode/arc.h: Add PROTOCOL_DECODE to insn_class_t.

opcodes/ChangeLog:

       * arc-dis.c (arc_insn_length): Return length 8 for instructions with
       major opcode 0xa.
       * arc-nps-400-tbl.h: Add dcmac instruction.
       * arc-opc.c (arc_operands): Added operands for dcmac instruction.
       (insert_nps_rbdouble_64): Added.
       (extract_nps_rbdouble_64): Added.
       (insert_nps_proto_size): Added.
       (extract_nps_proto_size): Added.
This commit is contained in:
Graham Markall 2016-10-18 20:10:25 +01:00
parent bdfe53e3cf
commit 5a736821ef
9 changed files with 204 additions and 1 deletions

View file

@ -56,6 +56,7 @@ typedef enum
LOGICAL,
MEMORY,
NET,
PROTOCOL_DECODE,
PMU,
XY
} insn_class_t;