This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/3] ARC: Add another group of nps instructions
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: binutils at sourceware dot org
- Cc: Claudiu dot Zissulescu at synopsys dot com, Cupertino dot Miranda at synopsys dot com, noamca at mellanox dot com, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Thu, 7 Apr 2016 12:05:24 +0100
- Subject: [PATCH 0/3] ARC: Add another group of nps instructions
- Authentication-results: sourceware.org; auth=none
This patch series adds more nps instructions to the arc architecture.
The first two patches are preparation, resolving some issues that I
ran into on the way.
Patch #1 makes the disassembler a little easier to maintain, at the
expense of a small start up cost. Personally I think the trade off is
worth it as we otherwise risk having an ever-growing mini-decoder in
the disassembler that we have to maintain.
Patch #2 should be fairly obvious I think, there was a name conflict
in the enum values used.
Patch #3 should be fairly straight forward except for one issue which
the team at Synopsys might not be happy with, I've discussed this more
in the patch itself.
Thanks,
Andrew
---
Andrew Burgess (3):
opcodes/arc: Compute insn lengths in disassembler
bfd/arc: Rename enum entries to avoid conflicts
arc/nps400 : New cmem instructions and associated relocation
bfd/ChangeLog | 20 +++++++++
bfd/bfd-in2.h | 1 +
bfd/elf32-arc.c | 92 ++++++++++++++++++++++++++++++++--------
bfd/libbfd.h | 1 +
bfd/reloc.c | 2 +
gas/ChangeLog | 5 +++
gas/testsuite/gas/arc/nps400-3.d | 56 ++++++++++++++++++++++++
gas/testsuite/gas/arc/nps400-3.s | 23 ++++++++++
include/ChangeLog | 5 +++
include/elf/arc-reloc.def | 7 +++
include/opcode/arc.h | 3 ++
ld/ChangeLog | 8 ++++
ld/testsuite/ld-arc/arc.exp | 30 +++++++++++++
ld/testsuite/ld-arc/nps-1.s | 10 +++++
ld/testsuite/ld-arc/nps-1a.d | 16 +++++++
ld/testsuite/ld-arc/nps-1b.d | 4 ++
ld/testsuite/ld-arc/nps-1b.err | 1 +
opcodes/ChangeLog | 13 ++++++
opcodes/arc-dis.c | 69 +++++++++++++++++++++++++-----
opcodes/arc-nps400-tbl.h | 12 ++++++
opcodes/arc-opc.c | 22 ++++++++++
21 files changed, 372 insertions(+), 28 deletions(-)
create mode 100644 gas/testsuite/gas/arc/nps400-3.d
create mode 100644 gas/testsuite/gas/arc/nps400-3.s
create mode 100644 ld/testsuite/ld-arc/arc.exp
create mode 100644 ld/testsuite/ld-arc/nps-1.s
create mode 100644 ld/testsuite/ld-arc/nps-1a.d
create mode 100644 ld/testsuite/ld-arc/nps-1b.d
create mode 100644 ld/testsuite/ld-arc/nps-1b.err
--
2.5.1