This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATH 0/3] [SPARC] Support for %ncc and tests for the "natural" insns
- From: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- To: binutils at sourceware dot org
- Date: Fri, 1 May 2015 10:45:23 -0700
- Subject: [PATH 0/3] [SPARC] Support for %ncc and tests for the "natural" insns
- Authentication-results: sourceware.org; auth=none
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