This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/9] Add support for the SPARC M7 cpu to binutils
- From: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- To: binutils at sourceware dot org
- Cc: davem at davemloft dot net
- Date: Thu, 2 Oct 2014 18:19:33 +0200
- Subject: [PATCH 0/9] Add support for the SPARC M7 cpu to binutils
- Authentication-results: sourceware.org; auth=none
Hi Hackers.
This set of patches updates GNU binutils to support the new registers
and instructions introduced in the Oracle SPARC Architecture 2015
(OSA2015) and implemented by the M7 processor.
First a small cleanup is performed in the SPARC opcodes table and also
in the architectures table in the assembler, in order to facilitate
the addition of new architectures. Then a new GAS architecture is
introduced for the M7 hardware capabilities (v9m), and finally the
instructions and registers themselves are added.
Every patch introducing new user-visible functionalities includes a
documentation update.
The whole set of patches has been tested in the following
configurations:
host target
---- ------
sparc64-unknown-linux-gnu sparc64-unknown-linux-gnu
x86_64-unknown-linux-gnu sparc64-unkwnon-linux-gnu
No visible regressions found.
Jose E. Marchesi (9):
binutils,gas,opcodes.elf: remove never used SPARC features and
upgrade hwcaps.
gas: simplify the SPARC architectures table and add missing hwcaps to
`sparc4'.
gas: document the command line options to select the SPARC v9e
architecture.
binutils,gas,bfd: support an extended set of SPARC hardware
capabilities.
gas: new SPARC architectures: sparc5, v9m and v8plusm.
gas, opcodes: SPARC M7 support: xmpmul, xmontmul and xmontsqr
instructions.
gas, opcodes: SPARC M7 support: %mwait ancillary state register and
associated instructions.
gas, opcodes: SPARC M7 support: %mcdper ancillary state register.
gas, opcodes: SPARC M7 support: sparc5/vis4.0 instructions.
bfd/ChangeLog | 5 +
bfd/elfxx-sparc.c | 7 +
binutils/ChangeLog | 12 +
binutils/readelf.c | 56 +-
gas/ChangeLog | 66 +
gas/config/tc-sparc.c | 164 +-
gas/doc/c-sparc.texi | 43 +-
gas/testsuite/ChangeLog | 34 +
gas/testsuite/gas/sparc/hpcvis3.d | 10 +-
gas/testsuite/gas/sparc/hpcvis3.s | 10 +-
gas/testsuite/gas/sparc/mcdper.d | 15 +
gas/testsuite/gas/sparc/mcdper.s | 5 +
gas/testsuite/gas/sparc/mwait.d | 13 +
gas/testsuite/gas/sparc/mwait.s | 7 +
gas/testsuite/gas/sparc/sparc.exp | 4 +
gas/testsuite/gas/sparc/sparc5vis4.d | 38 +
gas/testsuite/gas/sparc/sparc5vis4.s | 31 +
gas/testsuite/gas/sparc/xcrypto.d | 105 ++
gas/testsuite/gas/sparc/xcrypto.s | 98 ++
include/elf/ChangeLog | 20 +
include/elf/sparc.h | 20 +-
include/opcode/ChangeLog | 21 +
include/opcode/sparc.h | 22 +-
opcodes/ChangeLog | 40 +
opcodes/sparc-dis.c | 7 +-
opcodes/sparc-opc.c | 2920 +++++++++++++++++-----------------
26 files changed, 2241 insertions(+), 1532 deletions(-)
create mode 100644 gas/testsuite/gas/sparc/mcdper.d
create mode 100644 gas/testsuite/gas/sparc/mcdper.s
create mode 100644 gas/testsuite/gas/sparc/mwait.d
create mode 100644 gas/testsuite/gas/sparc/mwait.s
create mode 100644 gas/testsuite/gas/sparc/sparc5vis4.d
create mode 100644 gas/testsuite/gas/sparc/sparc5vis4.s
create mode 100644 gas/testsuite/gas/sparc/xcrypto.d
create mode 100644 gas/testsuite/gas/sparc/xcrypto.s
--
1.7.10.4
- Follow-Ups:
- [PATCH 1/9] binutils,gas,opcodes.elf: remove never used SPARC features and upgrade hwcaps.
- [PATCH 3/9] gas: document the command line options to select the SPARC v9e architecture.
- [PATCH 2/9] gas: simplify the SPARC architectures table and add missing hwcaps to `sparc4'.
- [PATCH 6/9] gas, opcodes: SPARC M7 support: xmpmul, xmontmul and xmontsqr instructions.
- [PATCH 7/9] gas, opcodes: SPARC M7 support: %mwait ancillary state register and associated instructions.
- [PATCH 8/9] gas, opcodes: SPARC M7 support: %mcdper ancillary state register.
- [PATCH 9/9] gas, opcodes: SPARC M7 support: sparc5/vis4.0 instructions.
- [PATCH 5/9] gas: new SPARC architectures: sparc5, v9m and v8plusm.
- [PATCH 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.