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 V2 0/9] Add support for the SPARC M7 cpu to binutils


[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


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