Implement ARC NPS-400 Ultra Ip and Miscellaneous instructions.
authorRinat Zelig <rinat@mellanox.com>
Mon, 27 Mar 2017 10:14:30 +0000 (11:14 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Mar 2017 10:14:30 +0000 (11:14 +0100)
commitc0c31e91adc6aabe7c96f02dd51a0f6200a982da
treef8806e3d53e30fbb60346840e7f2970a7fd651e7
parentcf31b44f3c4d839db0dcce10e0c4cc47d3be4ff1
Implement ARC NPS-400 Ultra Ip and Miscellaneous instructions.

opcodes * arc-nps400-tbl.h: Add Ultra Ip and Miscellaneous instructions format.
* arc-opc.c: Add defines. e.g. F_NJ, F_NM , F_NO_T, F_NPS_SR, F_NPS_M, F_NPS_CORE, F_NPS_ALL.
(insert_nps_misc_imm_offset): New function.
(extract_nps_misc imm_offset): New function.
(arc_num_flag_operands): Add F_NJ, F_NM, F_NO_T.
(arc_flag_special_cases): Add F_NJ, F_NM, F_NO_T.

include * opcode/arc.h (insn_class_t): Add ULTRAIP and MISC class.

gas     * testsuite/gas/arc/nps400-12.s: New file.
        * testsuite/gas/arc/nps400-12.d: New file.
gas/ChangeLog
gas/testsuite/gas/arc/nps400-12.d [new file with mode: 0644]
gas/testsuite/gas/arc/nps400-12.s [new file with mode: 0644]
include/ChangeLog
include/opcode/arc.h
opcodes/ChangeLog
opcodes/arc-nps400-tbl.h
opcodes/arc-opc.c