opcodes/arc: Fix extract for some add_s instructions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 14 Jun 2016 20:48:11 +0000 (21:48 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 15 Jun 2016 08:01:48 +0000 (09:01 +0100)
commit02f3be19f6fca3a46794f8f32350cc090ac38d0e
treed82f2c8e7a521dcd148b248cc1a3af18f9356e8a
parent31eef93e717c59975b3e6f37619ab956302ca37a
opcodes/arc: Fix extract for some add_s instructions

The extract function used for some arc_s instructions was not
implemented, and instead always returned 0.  Fixed in this commit.

opcodes/ChangeLog:

* arc-opc.c (extract_rhv1): Extract value from insn.

gas/ChangeLog:

* testsuite/gas/arc/add_s.d: New file.
* testsuite/gas/arc/add_s.s: New file.
gas/ChangeLog
gas/testsuite/gas/arc/add_s.d [new file with mode: 0644]
gas/testsuite/gas/arc/add_s.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/arc-opc.c