opcodes,gas: support for the ldtxa SPARC instructions.
authorJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 13 Jul 2016 08:42:28 +0000 (01:42 -0700)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 13 Jul 2016 14:05:40 +0000 (16:05 +0200)
commit6e7ced37e756420742d51abb044c24d0f1929143
tree47b4f357fd3f938b6f5534db66d1c24d458fbad5
parente87324746c45b0f2cd179ba59a80b43a435a9369
opcodes,gas: support for the ldtxa SPARC instructions.

This patch adds support for the LDTXA instructions, along with the
corresponding ASIs.  Tests for GAS are included.

opcodes/ChangeLog:

2016-07-12  Jose E. Marchesi  <jose.marchesi@oracle.com>

* sparc-opc.c (ldtxa): New macro.
(sparc_opcodes): Use the macro defined above to add entries for
the LDTXA instructions.
(asi_table): Add the ASI_TWINX_* asis used in the LDTXA
instruction.

gas/ChangeLog:

2016-07-12  Jose E. Marchesi  <jose.marchesi@oracle.com>

* testsuite/gas/sparc/ldtxa.s: New file.
* testsuite/gas/sparc/ldtxa.d: Likewise.
* testsuite/gas/sparc/sparc.exp: Execute the ldtxa test.
gas/ChangeLog
gas/testsuite/gas/sparc/ldtxa.d [new file with mode: 0644]
gas/testsuite/gas/sparc/ldtxa.s [new file with mode: 0644]
gas/testsuite/gas/sparc/sparc.exp
opcodes/ChangeLog
opcodes/sparc-opc.c