This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH V2 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: Tue, 7 Oct 2014 16:48:24 +0200
- Subject: [PATCH V2 0/9] Add support for the SPARC M7 cpu to binutils
- Authentication-results: sourceware.org; auth=none
[Changes in this version of the patches:
- The RANDOM, TRANS and ASI_CACHE_SPARING hwcaps have been kept in
Tag_GNU_Sparc_HWCAPS, as discussed in the mailing list. The
FJATHHPC, FJDES and JFAES bits have been added to
Tag_GNU_Sparc_HWCAPS2 instead of changing the meaning of the bits
in Tag_GNU_Sparc_HWCAPS1.
- Use bfd_uint64_t instead of `unsigned long' to guarantee 64 bits.
- Typo fixed in `gas: new SPARC architectures: sparc5, v9m and
v8plusm.': v9x -> v9m.]
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.
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 | 6 +
binutils/readelf.c | 50 +-
gas/ChangeLog | 63 +
gas/config/tc-sparc.c | 150 +-
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 | 15 +
include/elf/sparc.h | 25 +-
include/opcode/ChangeLog | 26 +
include/opcode/sparc.h | 20 +-
opcodes/ChangeLog | 40 +
opcodes/sparc-dis.c | 7 +-
opcodes/sparc-opc.c | 2920 +++++++++++++++++-----------------
26 files changed, 2234 insertions(+), 1513 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 V2 1/9] binutils,gas,opcodes.elf: remove never used SPARC features.
- [PATCH V2 2/9] gas: simplify the SPARC architectures table and add missing hwcaps to `sparc4'.
- [PATCH V2 3/9] gas: document the command line options to select the SPARC v9e architecture.
- [PATCH V2 6/9] gas, opcodes: SPARC M7 support: xmpmul, xmontmul and xmontsqr instructions.
- [PATCH V2 8/9] gas, opcodes: SPARC M7 support: %mcdper ancillary state register.
- [PATCH V2 9/9] gas, opcodes: SPARC M7 support: sparc5/vis4.0 instructions.
- [PATCH V2 7/9] gas, opcodes: SPARC M7 support: %mwait ancillary state register and associated instructions.
- [PATCH V2 5/9] gas: new SPARC architectures: sparc5, v9m and v8plusm.
- [PATCH V2 4/9] binutils,gas,bfd: support an extended set of SPARC hardware capabilities.
- Re: [PATCH V2 0/9] Add support for the SPARC M7 cpu to binutils