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/4] [ARC] Convert nps400 from a machine type to an extension


The NPS400 is an ARC700 variant with a specific extension set. It should
be possible to link NPS400 and ARC700 code together, but this is
inhibited by NPS400 currently being a separate machine type to ARC700.

This set of patches removes NPS400 as a machine type and changes all
NPS400 instructions to be ARC700 instructions with the instruction
subclass NPS400. These instructions are enabled either by passing
either -mcpu=nps400 (as before) or -mcpu=arc700 and -mnps400 to
enable the extension set.

The removal of the machine type includes the removal of a constant which
is documented as being unable to be changed (E_ARC_MACH_NPS400) in
include/elf/arc.h - however, there hasn't been a release since this was
added, so it shouldn't cause any problems to remove it.

Andrew Burgess (1):
  [ARC]: Add -mcpu=nps400 command line option

Graham Markall (3):
  [ARC] Add NPS400 instruction subclass and flag
  [ARC] Make NPS-400 an insn subclass instead of CPU
  [ARC] Remove NPS-400 as a machine type

 bfd/ChangeLog                         |   8 +
 bfd/archures.c                        |   1 -
 bfd/bfd-in2.h                         |   1 -
 bfd/cpu-arc.c                         |   5 +-
 bfd/elf32-arc.c                       |   6 -
 binutils/ChangeLog                    |   4 +
 binutils/readelf.c                    |   3 -
 gas/ChangeLog                         |  37 ++++
 gas/config/tc-arc.c                   |  15 +-
 gas/testsuite/gas/arc/nps400-0.d      |   4 +-
 gas/testsuite/gas/arc/nps400-1.d      |   2 +-
 gas/testsuite/gas/arc/nps400-2.d      |   2 +-
 gas/testsuite/gas/arc/nps400-3.d      |   2 +-
 gas/testsuite/gas/arc/nps400-4.d      |   2 +-
 gas/testsuite/gas/arc/nps400-5.d      |   2 +-
 gas/testsuite/gas/arc/nps400-6.d      |   2 +-
 gas/testsuite/gas/arc/nps400-7.d      |   2 +-
 gas/testsuite/gas/arc/textinsn2op01.d |  36 ++--
 gas/testsuite/gas/arc/textinsn2op01.s |   2 +-
 gas/testsuite/gas/arc/textinsn3op.d   | 108 +++++------
 gas/testsuite/gas/arc/textinsn3op.s   |   2 +-
 include/ChangeLog                     |   9 +
 include/elf/arc.h                     |   1 -
 include/opcode/arc.h                  |   5 +-
 ld/testsuite/ld-arc/nps-1a.d          |   2 +-
 ld/testsuite/ld-arc/nps-1b.d          |   2 +-
 opcodes/ChangeLog                     |  17 ++
 opcodes/arc-dis.c                     |  12 +-
 opcodes/arc-nps400-tbl.h              | 356 +++++++++++++++++-----------------
 opcodes/arc-opc.c                     |  28 +--
 30 files changed, 375 insertions(+), 303 deletions(-)

-- 
2.5.5


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