This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/3] [ARC] Begin implementing NPS-400 Accelerator instructions


This series of patches implements the NPS-400 BMU and PMU instructions,
which are a subset of the Accelerator instructions. Many Accelerator
instructions use address types in their operands, an example being the
bdalc instruction:

  bdalc DST, [cm:SRC1], SRC1, SRC2

The address type here is cm, which specifies that the second operand is
an offset given by SRC1 into the CMEM area. There is a limited number
of other address types (cm, cd, cbd, etc...). The first patch in this
series adds support for all address types, and the following two patches
implement the BMU and PMU instructions which make use of some of these
address types.

There are further accelerator instructions to implement. These will
be submitted in future once the support for address types is agreed-upon
and applied.

All patches pass a `make check` for ARC big- and little-endian.

Graham Markall (3):
  [ARC] Add support for address type syntax
  [ARC] Implement NPS-400 BMU instructions
  [ARC] Implement NPS-400 PMU Instructions

 gas/ChangeLog                    |  21 ++++++++
 gas/config/tc-arc.c              |  92 +++++++++++++++++++++++++++++++++--
 gas/testsuite/gas/arc/nps400-8.d |  71 +++++++++++++++++++++++++++
 gas/testsuite/gas/arc/nps400-8.s |  92 +++++++++++++++++++++++++++++++++++
 include/ChangeLog                |  13 +++++
 include/opcode/arc.h             |  71 ++++++++++++++++++++++++++-
 opcodes/ChangeLog                |  22 +++++++++
 opcodes/arc-dis.c                |  39 +++++++++++++--
 opcodes/arc-nps400-tbl.h         |  96 +++++++++++++++++++++++++++++++++++++
 opcodes/arc-opc.c                | 101 +++++++++++++++++++++++++++++++++++++++
 10 files changed, 610 insertions(+), 8 deletions(-)
 create mode 100644 gas/testsuite/gas/arc/nps400-8.d
 create mode 100644 gas/testsuite/gas/arc/nps400-8.s

-- 
2.7.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]