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]

[PATH 0/3] [SPARC] Support for %ncc and tests for the "natural" insns


Hi Nick!

The first patch adds support for the %ncc "natural" condition codes in
sparc.  This refers to %icc when as in invoked with -32 and %xcc when
as in invoked with -64.  Supporting these condition codes makes it
much easier to port applications from Solaris to GNU/Linux.

The second patch adds a few tests for the already supported natural
instructions: ldn, ldna, stn, stna, slln, srln, sran, casn, casna and
clrn.

Finally, the third patch fixes a tiny typo in a comment.

Ok to commit?

Jose E. Marchesi (3):
  gas: support for the sparc %ncc condition codes register.
  gas: added tests for the sparc natural instructions.
  gas: typo in comment fixed.

 gas/ChangeLog                        | 10 ++++++++++
 gas/config/tc-sparc.c                |  8 +++++---
 gas/doc/c-sparc.texi                 |  4 ++++
 gas/testsuite/ChangeLog              | 18 ++++++++++++++++++
 gas/testsuite/gas/sparc/natural-32.d | 20 ++++++++++++++++++++
 gas/testsuite/gas/sparc/natural-32.s | 15 +++++++++++++++
 gas/testsuite/gas/sparc/natural.d    | 20 ++++++++++++++++++++
 gas/testsuite/gas/sparc/natural.s    | 15 +++++++++++++++
 gas/testsuite/gas/sparc/sparc.exp    |  2 ++
 9 files changed, 109 insertions(+), 3 deletions(-)
 create mode 100644 gas/testsuite/gas/sparc/natural-32.d
 create mode 100644 gas/testsuite/gas/sparc/natural-32.s
 create mode 100644 gas/testsuite/gas/sparc/natural.d
 create mode 100644 gas/testsuite/gas/sparc/natural.s

-- 
2.3.4


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