This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/2] opcodes/arc: Add yet more nps instructions
- From: Nick Clifton <nickc at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, binutils at sourceware dot org
- Cc: Claudiu dot Zissulescu at synopsys dot com, Cupertino dot Miranda at synopsys dot com, noamca at mellanox dot com
- Date: Tue, 19 Apr 2016 17:05:40 +0100
- Subject: Re: [PATCH 2/2] opcodes/arc: Add yet more nps instructions
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1460651694 dot git dot andrew dot burgess at embecosm dot com> <a1a7c526d410f77a3c834832143b84dd1d6601a6 dot 1460651694 dot git dot andrew dot burgess at embecosm dot com>
Hi Andrew,
> gas/ChangeLog:
>
> * testsuite/gas/arc/nps400-6.d: New file.
> * testsuite/gas/arc/nps400-6.s: New file.
>
> include/ChangeLog:
>
> * opcode/arc.h (MAX_INSN_ARGS): Increase 6 to 8.
>
> opcodes/ChangeLog:
>
> * arc-nps400-tbl.h: Add addb, subb, adcb, sbcb, andb, xorb, orb,
> fxorb, wxorb, shlb, shrb, notb, cntbb, div, mod, divm, and qcmp
> instructions.
> * arc-opc.c (insert_nps_bitop_size): Delete.
> (extract_nps_bitop_size): Delete.
> (MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Define, and use.
> (extract_nps_qcmp_m3): Define.
> (extract_nps_qcmp_m2): Define.
> (extract_nps_qcmp_m1): Define.
> (arc_flag_operands): Add F_NPS_SX, F_NPS_AR, F_NPS_AL.
> (arc_flag_classes): Add C_NPS_SX, C_NPS_AR_AL
> (arc_operands): Add NPS_SRC2_POS, NPS_SRC1_POS, NPS_ADDB_SIZE,
> NPS_ANDB_SIZE, NPS_FXORB_SIZ, NPS_WXORB_SIZ, NPS_R_XLDST,
> NPS_DIV_UIMM4, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, and
> NPS_QCMP_M3.
Approved - please apply.
Cheers
Nick