arc/nps400: Add additional instructions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 21 Mar 2016 18:49:34 +0000 (18:49 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 5 Apr 2016 21:45:55 +0000 (22:45 +0100)
commit820f03ffe027367f275e9debb5f3f3376820ab37
treee69feb8a812bbd46eb965333b7e77765e3ae0ed8
parent6e774b13c3b81ac2599812adf058796948ce7e95
arc/nps400: Add additional instructions

Adds the movbi, decode1, fbset, fbclear, encode0, encode1, rflt, crc16,
and crc32 instructions for the nps400 arc machine type.

gas/ChangeLog:

* testsuite/gas/arc/nps400-1.d: Update expected results.
* testsuite/gas/arc/nps400-1.s: Additional test cases.

opcodes/ChangeLog:

* arc-nps400-tbl.h: Add movbi, decode1, fbset, fbclear, encode0,
encode1, rflt, crc16, and crc32 instructions.
* arc-opc.c (arc_flag_operands): Add F_NPS_R.
(arc_flag_classes): Add C_NPS_R.
(insert_nps_bitop_size_2b): New function.
(extract_nps_bitop_size_2b): Likewise.
(insert_nps_bitop_uimm8): Likewise.
(extract_nps_bitop_uimm8): Likewise.
(arc_operands): Add new operand entries.
gas/ChangeLog
gas/testsuite/gas/arc/nps400-1.d
gas/testsuite/gas/arc/nps400-1.s
opcodes/ChangeLog
opcodes/arc-nps400-tbl.h
opcodes/arc-opc.c