• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Révisionbdd582dbf14f12998a0003b5aa772d7868bc3dc7 (tree)
l'heure2016-06-21 22:03:08
AuteurGraham Markall <graham.markall@embe...>
CommiterNick Clifton

Message de Log

Arc assembler: Convert nps400 from a machine type to an extension.

gas * config/tc-arc.c (check_cpu_feature, md_parse_option):
Add nps400 option and feature. Add check for nps400
feature. Refactor existing checks to check subclass before
feature enablement.
(md_show_usage): Document flags for NPS-400 and add some other
undocumented flags.
(cpu_type): Remove nps400 CPU type entry
(check_zol): Remove bfd_mach_arc_nps400 case.
(md_show_usage): Add help on -mcpu=nps400.
(cpu_types): Add entry for nps400 as arc700 plus nps400 extension
set.
* doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
-fpuda flags. Document -mcpu=nps400.
* testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
expected flags to match ARC700 instead of NPS400.
* testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
* testsuite/gas/arc/nps-400-2.d: Likewise.
* testsuite/gas/arc/nps-400-3.d: Likewise.
* testsuite/gas/arc/nps-400-4.d: Likewise.
* testsuite/gas/arc/nps-400-5.d: Likewise.
* testsuite/gas/arc/nps-400-6.d: Likewise.
* testsuite/gas/arc/nps-400-7.d: Likewise.
* testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
avoid clash with cbba instruction.
* testsuite/gas/arc/textinsn2op01.d: Likewise.
* testsuite/gas/arc/textinsn3op.d: Likewise.
* testsuite/gas/arc/textinsn3op.s: Likewise.
* testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
-mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.

binutils* readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
case.

ld * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
* testsuite/ld-arc/nps-1b.d: Likewise.

include * opcode/arc.h: Add nps400 extension and instruction
subclass.
Remove ARC_OPCODE_NPS400
* elf/arc.h: Remove E_ARC_MACH_NPS400

opcodes * arc-dis.c (arc_insn_length): Add comment on instruction length.
Use same method for determining instruction length on ARC700 and
NPS-400.
(arc_insn_length, print_insn_arc): Remove bfd_mach_arc_nps400.
* arc-nps400-tbl.h: Make all nps400 instructions ARC700 instructions
with the NPS400 subclass.
* arc-opc.c: Likewise.

bfd * archures.c: Remove bfd_mach_arc_nps400.
* bfd-in2.h: Likewise.
* cpu-arc.c (arch_info_struct): Likewise.
* elf32-arc.c (arc_elf_object_p, arc_elf_final_write_processing):
Likewise.

Change Summary

Modification

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * archures.c: Remove bfd_mach_arc_nps400.
4+ * bfd-in2.h: Likewise.
5+ * cpu-arc.c (arch_info_struct): Likewise.
6+ * elf32-arc.c (arc_elf_object_p, arc_elf_final_write_processing):
7+ Likewise.
8+
19 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
210
311 PR ld/18250
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -375,7 +375,6 @@ DESCRIPTION
375375 .#define bfd_mach_arc_arc601 4
376376 .#define bfd_mach_arc_arc700 3
377377 .#define bfd_mach_arc_arcv2 5
378-.#define bfd_mach_arc_nps400 6
379378 . bfd_arch_m32c, {* Renesas M16C/M32C. *}
380379 .#define bfd_mach_m16c 0x75
381380 .#define bfd_mach_m32c 0x78
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2186,7 +2186,6 @@ enum bfd_architecture
21862186 #define bfd_mach_arc_arc601 4
21872187 #define bfd_mach_arc_arc700 3
21882188 #define bfd_mach_arc_arcv2 5
2189-#define bfd_mach_arc_nps400 6
21902189 bfd_arch_m32c, /* Renesas M16C/M32C. */
21912190 #define bfd_mach_m16c 0x75
21922191 #define bfd_mach_m32c 0x78
--- a/bfd/cpu-arc.c
+++ b/bfd/cpu-arc.c
@@ -47,9 +47,8 @@ static const bfd_arch_info_type arch_info_struct[] =
4747 ARC (bfd_mach_arc_arc601, "ARC601", FALSE, &arch_info_struct[3]),
4848 ARC (bfd_mach_arc_arc700, "ARC700", FALSE, &arch_info_struct[4]),
4949 ARC (bfd_mach_arc_arc700, "A7", FALSE, &arch_info_struct[5]),
50- ARC (bfd_mach_arc_nps400, "NPS400", FALSE, &arch_info_struct[6]),
51- ARC (bfd_mach_arc_arcv2, "ARCv2", FALSE, &arch_info_struct[7]),
52- ARC (bfd_mach_arc_arcv2, "EM", FALSE, &arch_info_struct[8]),
50+ ARC (bfd_mach_arc_arcv2, "ARCv2", FALSE, &arch_info_struct[6]),
51+ ARC (bfd_mach_arc_arcv2, "EM", FALSE, &arch_info_struct[7]),
5352 ARC (bfd_mach_arc_arcv2, "HS", FALSE, NULL),
5453 };
5554
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -621,9 +621,6 @@ arc_elf_object_p (bfd * abfd)
621621 case E_ARC_MACH_ARC700:
622622 mach = bfd_mach_arc_arc700;
623623 break;
624- case E_ARC_MACH_NPS400:
625- mach = bfd_mach_arc_nps400;
626- break;
627624 case EF_ARC_CPU_ARCV2HS:
628625 case EF_ARC_CPU_ARCV2EM:
629626 mach = bfd_mach_arc_arcv2;
@@ -673,9 +670,6 @@ arc_elf_final_write_processing (bfd * abfd,
673670 case bfd_mach_arc_arc700:
674671 emf = EM_ARC_COMPACT;
675672 break;
676- case bfd_mach_arc_nps400:
677- emf = EM_ARC_COMPACT;
678- break;
679673 case bfd_mach_arc_arcv2:
680674 emf = EM_ARC_COMPACT2;
681675 break;
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * readelf.c (decode_ARC_machine_flags): Remove E_ARC_MACH_NPS400
4+ case.
5+
16 2016-06-15 Nick Clifton <nickc@redhat.com>
27
38 * readelf.c (is_24bit_abs_reloc): Add support for R_FT32_20
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2381,9 +2381,6 @@ decode_ARC_machine_flags (unsigned e_flags, unsigned e_machine, char buf[])
23812381 case E_ARC_MACH_ARC700:
23822382 strcat (buf, ", ARC700");
23832383 break;
2384- case E_ARC_MACH_NPS400:
2385- strcat (buf, ", NPS400");
2386- break;
23872384
23882385 /* The only times we should end up here are (a) A corrupt ELF, (b) A
23892386 new ELF with new architecture being read by an old version of
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,35 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * config/tc-arc.c (check_cpu_feature, md_parse_option):
4+ Add nps400 option and feature. Add check for nps400
5+ feature. Refactor existing checks to check subclass before
6+ feature enablement.
7+ (md_show_usage): Document flags for NPS-400 and add some other
8+ undocumented flags.
9+ (cpu_type): Remove nps400 CPU type entry
10+ (check_zol): Remove bfd_mach_arc_nps400 case.
11+ (md_show_usage): Add help on -mcpu=nps400.
12+ (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
13+ set.
14+ * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
15+ -fpuda flags. Document -mcpu=nps400.
16+ * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
17+ expected flags to match ARC700 instead of NPS400.
18+ * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
19+ * testsuite/gas/arc/nps-400-2.d: Likewise.
20+ * testsuite/gas/arc/nps-400-3.d: Likewise.
21+ * testsuite/gas/arc/nps-400-4.d: Likewise.
22+ * testsuite/gas/arc/nps-400-5.d: Likewise.
23+ * testsuite/gas/arc/nps-400-6.d: Likewise.
24+ * testsuite/gas/arc/nps-400-7.d: Likewise.
25+ * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
26+ avoid clash with cbba instruction.
27+ * testsuite/gas/arc/textinsn2op01.d: Likewise.
28+ * testsuite/gas/arc/textinsn3op.d: Likewise.
29+ * testsuite/gas/arc/textinsn3op.s: Likewise.
30+ * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
31+ -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
32+
133 2016-06-20 Maciej W. Rozycki <macro@imgtec.com>
234
335 * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -100,6 +100,7 @@ enum arc_rlx_types
100100 #define is_fpuda_p(op) (((sc) == DPA))
101101 #define is_br_jmp_insn_p(op) (((op)->insn_class == BRANCH || (op)->insn_class == JUMP))
102102 #define is_kernel_insn_p(op) (((op)->insn_class == KERNEL))
103+#define is_nps400_p(op) (((sc) == NPS400))
103104
104105 /* Generic assembler global variables which must be defined by all
105106 targets. */
@@ -179,6 +180,7 @@ enum options
179180 OPTION_MCPU,
180181 OPTION_CD,
181182 OPTION_RELAX,
183+ OPTION_NPS400,
182184
183185 /* The following options are deprecated and provided here only for
184186 compatibility reasons. */
@@ -221,6 +223,7 @@ struct option md_longopts[] =
221223 { "mHS", no_argument, NULL, OPTION_ARCHS },
222224 { "mcode-density", no_argument, NULL, OPTION_CD },
223225 { "mrelax", no_argument, NULL, OPTION_RELAX },
226+ { "mnps400", no_argument, NULL, OPTION_NPS400 },
224227
225228 /* The following options are deprecated and provided here only for
226229 compatibility reasons. */
@@ -425,8 +428,8 @@ static const struct cpu_type
425428 E_ARC_MACH_ARC600, 0x00},
426429 { "arc700", ARC_OPCODE_ARC700, bfd_mach_arc_arc700,
427430 E_ARC_MACH_ARC700, 0x00},
428- { "nps400", ARC_OPCODE_ARC700 | ARC_OPCODE_NPS400, bfd_mach_arc_nps400,
429- E_ARC_MACH_NPS400, 0x00},
431+ { "nps400", ARC_OPCODE_ARC700 , bfd_mach_arc_arc700,
432+ E_ARC_MACH_ARC700, ARC_NPS400},
430433 { "arcem", ARC_OPCODE_ARCv2EM, bfd_mach_arc_arcv2,
431434 EF_ARC_CPU_ARCV2EM, 0x00},
432435 { "archs", ARC_OPCODE_ARCv2HS, bfd_mach_arc_arcv2,
@@ -1529,20 +1532,19 @@ allocate_tok (expressionS *tok, int ntok, int cidx)
15291532 static bfd_boolean
15301533 check_cpu_feature (insn_subclass_t sc)
15311534 {
1532- if (!(arc_features & ARC_CD)
1533- && is_code_density_p (sc))
1535+ if (is_code_density_p (sc) && !(arc_features & ARC_CD))
15341536 return FALSE;
15351537
1536- if (!(arc_features & ARC_SPFP)
1537- && is_spfp_p (sc))
1538+ if (is_spfp_p (sc) && !(arc_features & ARC_SPFP))
15381539 return FALSE;
15391540
1540- if (!(arc_features & ARC_DPFP)
1541- && is_dpfp_p (sc))
1541+ if (is_dpfp_p (sc) && !(arc_features & ARC_DPFP))
15421542 return FALSE;
15431543
1544- if (!(arc_features & ARC_FPUDA)
1545- && is_fpuda_p (sc))
1544+ if (is_fpuda_p (sc) && !(arc_features & ARC_FPUDA))
1545+ return FALSE;
1546+
1547+ if (is_nps400_p (sc) && !(arc_features & ARC_NPS400))
15461548 return FALSE;
15471549
15481550 return TRUE;
@@ -3341,6 +3343,9 @@ md_parse_option (int c, const char *arg ATTRIBUTE_UNUSED)
33413343 relaxation_state = 1;
33423344 break;
33433345
3346+ case OPTION_NPS400:
3347+ arc_features |= ARC_NPS400;
3348+
33443349 case OPTION_USER_MODE:
33453350 case OPTION_LD_EXT_MASK:
33463351 case OPTION_SWAP:
@@ -3396,6 +3401,18 @@ md_show_usage (FILE *stream)
33963401 fprintf (stream, _("ARC-specific assembler options:\n"));
33973402
33983403 fprintf (stream, " -mcpu=<cpu name>\t assemble for CPU <cpu name>\n");
3404+ fprintf (stream, " -mcpu=nps400\t\t same as -mcpu=arc700 -mnps400\n");
3405+ fprintf (stream, " -mA6/-mARC600/-mARC601 same as -mcpu=arc600\n");
3406+ fprintf (stream, " -mA7/-mARC700\t\t same as -mcpu=arc700\n");
3407+ fprintf (stream, " -mEM\t\t\t same as -mcpu=arcem\n");
3408+ fprintf (stream, " -mHS\t\t\t same as -mcpu=archs\n");
3409+
3410+ fprintf (stream, " -mnps400\t\t enable NPS-400 extended instructions\n");
3411+ fprintf (stream, " -mspfp\t\t enable single-precision floating point instructions\n");
3412+ fprintf (stream, " -mdpfp\t\t enable double-precision floating point instructions\n");
3413+ fprintf (stream, " -mfpuda\t\t enable double-precision assist floating "
3414+ "point\n\t\t\t instructions for ARC EM\n");
3415+
33993416 fprintf (stream,
34003417 " -mcode-density\t enable code density option for ARC EM\n");
34013418
@@ -3404,8 +3421,36 @@ md_show_usage (FILE *stream)
34043421 fprintf (stream, _("\
34053422 -EL assemble code for a little-endian cpu\n"));
34063423 fprintf (stream, _("\
3407- -mrelax Enable relaxation\n"));
3408-
3424+ -mrelax enable relaxation\n"));
3425+
3426+ fprintf (stream, _("The following ARC-specific assembler options are "
3427+ "deprecated and are accepted\nfor compatibility only:\n"));
3428+
3429+ fprintf (stream, _(" -mEA\n"
3430+ " -mbarrel-shifter\n"
3431+ " -mbarrel_shifter\n"
3432+ " -mcrc\n"
3433+ " -mdsp-packa\n"
3434+ " -mdsp_packa\n"
3435+ " -mdvbf\n"
3436+ " -mld-extension-reg-mask\n"
3437+ " -mlock\n"
3438+ " -mmac-24\n"
3439+ " -mmac-d16\n"
3440+ " -mmac_24\n"
3441+ " -mmac_d16\n"
3442+ " -mmin-max\n"
3443+ " -mmin_max\n"
3444+ " -mmul64\n"
3445+ " -mno-mpy\n"
3446+ " -mnorm\n"
3447+ " -mrtsc\n"
3448+ " -msimd\n"
3449+ " -mswap\n"
3450+ " -mswape\n"
3451+ " -mtelephony\n"
3452+ " -muser-mode-only\n"
3453+ " -mxy\n"));
34093454 }
34103455
34113456 /* Find the proper relocation for the given opcode. */
@@ -4070,7 +4115,6 @@ check_zol (symbolS *s)
40704115 end of the ZOL label @%s"), S_GET_NAME (s));
40714116
40724117 /* Fall through. */
4073- case bfd_mach_arc_nps400:
40744118 case bfd_mach_arc_arc700:
40754119 if (arc_last_insns[0].has_delay_slot)
40764120 as_bad (_("An illegal use of delay slot detected at the end of the ZOL label @%s"),
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -2680,7 +2680,7 @@ do include file processing with the @code{.include} directive
26802680 (@pxref{Include,,@code{.include}}). You can use the @sc{gnu} C compiler driver
26812681 to get other ``CPP'' style preprocessing by giving the input file a
26822682 @samp{.S} suffix. @xref{Overall Options, ,Options Controlling the Kind of
2683-Output, gcc.info, Using GNU CC}.
2683+Output, gcc.info, Using GNU CC} .
26842684
26852685 Excess whitespace, comments, and character constants
26862686 cannot be used in the portions of the input text that are not
--- a/gas/doc/c-arc.texi
+++ b/gas/doc/c-arc.texi
@@ -56,9 +56,6 @@ Assemble for ARC 601. Alias: @code{-mARC601}.
5656 @cindex @code{mARC700} command line option, ARC
5757 Assemble for ARC 700. Aliases: @code{-mA7}, @code{-mARC700}.
5858
59-@item nps400
60-Assemble for NPS400.
61-
6259 @item arcem
6360 @cindex @code{mEM} command line option, ARC
6461 Assemble for ARC EM. Aliases: @code{-mEM}
@@ -67,6 +64,10 @@ Assemble for ARC EM. Aliases: @code{-mEM}
6764 @cindex @code{mHS} command line option, ARC
6865 Assemble for ARC HS. Aliases: @code{-mHS}, @code{-mav2hs}.
6966
67+@item nps400
68+@cindex @code{mnps400} command line option, ARC
69+Assemble for ARC 700 with NPS-400 extended instructions.
70+
7071 @end table
7172
7273 Note: the @code{.cpu} directive (@pxref{ARC Directives}) can
@@ -94,6 +95,23 @@ Enable support for assembly-time relaxation. The assembler will
9495 replace a longer version of an instruction with a shorter one,
9596 whenever it is possible.
9697
98+@cindex @code{-mnps400} command line option, ARC
99+@item -mnps400
100+Enable support for NPS-400 extended instructions.
101+
102+@cindex @code{-mspfp} command line option, ARC
103+@item -mspfp
104+Enable support for single-precision floating point instructions.
105+
106+@cindex @code{-mdpfp} command line option, ARC
107+@item -mdpfp
108+Enable support for double-precision floating point instructions.
109+
110+@cindex @code{-mfpuda} command line option, ARC
111+@item -mfpuda
112+Enable support for double-precision assist floating point instructions.
113+Only valid for ARC EM processors.
114+
97115 @end table
98116
99117 @node ARC Syntax
--- a/gas/testsuite/gas/arc/nps400-0.d
+++ b/gas/testsuite/gas/arc/nps400-0.d
@@ -11,5 +11,5 @@
1111 Machine: ARCompact
1212 Version: 0x1
1313 #...
14- Flags: 0x307, NPS400, v3 no-legacy-syscalls ABI
15-#...
\ No newline at end of file
14+ Flags: 0x303, ARC700, v3 no-legacy-syscalls ABI
15+#...
--- a/gas/testsuite/gas/arc/nps400-1.d
+++ b/gas/testsuite/gas/arc/nps400-1.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-2.d
+++ b/gas/testsuite/gas/arc/nps400-2.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-3.d
+++ b/gas/testsuite/gas/arc/nps400-3.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-4.d
+++ b/gas/testsuite/gas/arc/nps400-4.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-5.d
+++ b/gas/testsuite/gas/arc/nps400-5.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-6.d
+++ b/gas/testsuite/gas/arc/nps400-6.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/nps400-7.d
+++ b/gas/testsuite/gas/arc/nps400-7.d
@@ -1,4 +1,4 @@
1-#as: -mcpu=nps400
1+#as: -mcpu=arc700 -mnps400
22 #objdump: -dr
33
44 .*: +file format .*arc.*
--- a/gas/testsuite/gas/arc/textinsn2op01.d
+++ b/gas/testsuite/gas/arc/textinsn2op01.d
@@ -6,22 +6,22 @@
66 Disassembly of section .text:
77
88 [0-9a-f]+ <.text>:
9- 0: 382d 007e myinsn r0,r1
10- 4: 3b2d 373e myinsn fp,sp
11- 8: 386d 003e myinsn r0,0
12- c: 392d 0fbe ffff ffff myinsn r1,0xffffffff
13- 14: 3eed 7080 0000 0000 myinsn 0,r2
14- 1c: 3c2d 0fbe 0000 00ff myinsn r4,0xff
15- 24: 3e2d 0fbe ffff ff00 myinsn r6,0xffffff00
16- 2c: 382d 1fbe 0000 0100 myinsn r8,0x100
17- 34: 392d 1fbe ffff feff myinsn r9,0xfffffeff
18- 3c: 3b2d 1fbe 4242 4242 myinsn r11,0x42424242
19- 44: 382d 0fbe 0000 0000 myinsn r0,0
9+ 0: 3830 007e myinsn r0,r1
10+ 4: 3b30 373e myinsn fp,sp
11+ 8: 3870 003e myinsn r0,0
12+ c: 3930 0fbe ffff ffff myinsn r1,0xffffffff
13+ 14: 3ef0 7080 0000 0000 myinsn 0,r2
14+ 1c: 3c30 0fbe 0000 00ff myinsn r4,0xff
15+ 24: 3e30 0fbe ffff ff00 myinsn r6,0xffffff00
16+ 2c: 3830 1fbe 0000 0100 myinsn r8,0x100
17+ 34: 3930 1fbe ffff feff myinsn r9,0xfffffeff
18+ 3c: 3b30 1fbe 4242 4242 myinsn r11,0x42424242
19+ 44: 3830 0fbe 0000 0000 myinsn r0,0
2020 48: R_ARC_32_ME foo
21- 4c: 382d 807e myinsn.f r0,r1
22- 50: 3a6d 807e myinsn.f r2,0x1
23- 54: 3eed f100 0000 0000 myinsn.f 0,r4
24- 5c: 3d2d 8fbe 0000 0200 myinsn.f r5,0x200
25- 64: 3eed f102 0000 0000 myinsn.ne.f 0,r4
26- 6c: 3eed ff85 dead beef myinsn.c.f 0xdeadbeef,0xdeadbeef
27- 74: 3eed f0a6 dead beef myinsn.nc.f 0xdeadbeef,0x2
21+ 4c: 3830 807e myinsn.f r0,r1
22+ 50: 3a70 807e myinsn.f r2,0x1
23+ 54: 3ef0 f100 0000 0000 myinsn.f 0,r4
24+ 5c: 3d30 8fbe 0000 0200 myinsn.f r5,0x200
25+ 64: 3ef0 f102 0000 0000 myinsn.ne.f 0,r4
26+ 6c: 3ef0 ff85 dead beef myinsn.c.f 0xdeadbeef,0xdeadbeef
27+ 74: 3ef0 f0a6 dead beef myinsn.nc.f 0xdeadbeef,0x2
--- a/gas/testsuite/gas/arc/textinsn2op01.s
+++ b/gas/testsuite/gas/arc/textinsn2op01.s
@@ -1,5 +1,5 @@
11 # Insn 2op .extInstruction test
2- .extInstruction myinsn, 0x07, 0x2d, SUFFIX_FLAG|SUFFIX_COND, SYNTAX_2OP|OP1_IMM_IMPLIED
2+ .extInstruction myinsn, 0x07, 0x30, SUFFIX_FLAG|SUFFIX_COND, SYNTAX_2OP|OP1_IMM_IMPLIED
33
44 myinsn r0,r1
55 myinsn fp,sp
--- a/gas/testsuite/gas/arc/textinsn3op.d
+++ b/gas/testsuite/gas/arc/textinsn3op.d
@@ -6,58 +6,58 @@
66 Disassembly of section .text:
77
88 [0-9a-f]+ <.text>:
9- 0: 392d 0080 myinsn r0,r1,r2
10- 4: 3b2d 371a myinsn gp,fp,sp
11- 8: 3e2d 37dd myinsn ilink,r30,blink
12- c: 396d 0000 myinsn r0,r1,0
13- 10: 3e2d 7080 0000 0000 myinsn r0,0,r2
14- 18: 392d 00be myinsn 0,r1,r2
15- 1c: 392d 0f80 ffff ffff myinsn r0,r1,0xffffffff
16- 24: 3e2d 7080 ffff ffff myinsn r0,0xffffffff,r2
17- 2c: 392d 0f80 0000 00ff myinsn r0,r1,0xff
18- 34: 3e2d 7080 0000 00ff myinsn r0,0xff,r2
19- 3c: 392d 0f80 ffff ff00 myinsn r0,r1,0xffffff00
20- 44: 3e2d 7080 ffff ff00 myinsn r0,0xffffff00,r2
21- 4c: 392d 0f80 0000 0100 myinsn r0,r1,0x100
22- 54: 3e2d 7080 ffff feff myinsn r0,0xfffffeff,r2
23- 5c: 3e2d 7f80 0000 0100 myinsn r0,0x100,0x100
24- 64: 392d 0f80 0000 0000 myinsn r0,r1,0
9+ 0: 3930 0080 myinsn r0,r1,r2
10+ 4: 3b30 371a myinsn gp,fp,sp
11+ 8: 3e30 37dd myinsn ilink,r30,blink
12+ c: 3970 0000 myinsn r0,r1,0
13+ 10: 3e30 7080 0000 0000 myinsn r0,0,r2
14+ 18: 3930 00be myinsn 0,r1,r2
15+ 1c: 3930 0f80 ffff ffff myinsn r0,r1,0xffffffff
16+ 24: 3e30 7080 ffff ffff myinsn r0,0xffffffff,r2
17+ 2c: 3930 0f80 0000 00ff myinsn r0,r1,0xff
18+ 34: 3e30 7080 0000 00ff myinsn r0,0xff,r2
19+ 3c: 3930 0f80 ffff ff00 myinsn r0,r1,0xffffff00
20+ 44: 3e30 7080 ffff ff00 myinsn r0,0xffffff00,r2
21+ 4c: 3930 0f80 0000 0100 myinsn r0,r1,0x100
22+ 54: 3e30 7080 ffff feff myinsn r0,0xfffffeff,r2
23+ 5c: 3e30 7f80 0000 0100 myinsn r0,0x100,0x100
24+ 64: 3930 0f80 0000 0000 myinsn r0,r1,0
2525 68: R_ARC_32_ME foo
26- 6c: 38ed 0080 myinsn r0,r0,r2
27- 70: 3bed 0140 myinsn r3,r3,r5
28- 74: 3eed 0201 myinsn.eq r6,r6,r8
29- 78: 39ed 12c1 myinsn.eq r9,r9,r11
30- 7c: 3ced 1382 myinsn.ne r12,r12,r14
31- 80: 3fed 1442 myinsn.ne r15,r15,r17
32- 84: 3aed 2503 myinsn.p r18,r18,r20
33- 88: 3ded 25c3 myinsn.p r21,r21,r23
34- 8c: 38ed 3684 myinsn.n r24,r24,gp
35- 90: 3bed 3744 myinsn.n fp,fp,ilink
36- 94: 3eed 37c5 myinsn.c r30,r30,blink
37- 98: 3bed 00c5 myinsn.c r3,r3,r3
38- 9c: 3bed 0205 myinsn.c r3,r3,r8
39- a0: 3bed 0106 myinsn.nc r3,r3,r4
40- a4: 3ced 0106 myinsn.nc r4,r4,r4
41- a8: 3ced 01c6 myinsn.nc r4,r4,r7
42- ac: 3ced 0147 myinsn.v r4,r4,r5
43- b0: 3ded 0147 myinsn.v r5,r5,r5
44- b4: 3ded 0148 myinsn.nv r5,r5,r5
45- b8: 3ded 0148 myinsn.nv r5,r5,r5
46- bc: 3eed 0009 myinsn.gt r6,r6,r0
47- c0: 38ed 002a myinsn.ge r0,r0,0
48- c4: 39ed 006b myinsn.lt r1,r1,0x1
49- c8: 3bed 00ed myinsn.hi r3,r3,0x3
50- cc: 3ced 012e myinsn.ls r4,r4,0x4
51- d0: 3ded 016f myinsn.pnz r5,r5,0x5
52- d4: 392d 8080 myinsn.f r0,r1,r2
53- d8: 396d 8040 myinsn.f r0,r1,0x1
54- dc: 3e2d f080 0000 0001 myinsn.f r0,0x1,r2
55- e4: 392d 80be myinsn.f 0,r1,r2
56- e8: 392d 8f80 0000 0200 myinsn.f r0,r1,0x200
57- f0: 3e2d f080 0000 0200 myinsn.f r0,0x200,r2
58- f8: 39ed 8081 myinsn.eq.f r1,r1,r2
59- fc: 38ed 8022 myinsn.ne.f r0,r0,0
60- 100: 3aed 808b myinsn.lt.f r2,r2,r2
61- 104: 3eed f0a9 0000 0001 myinsn.gt.f 0,0x1,0x2
62- 10c: 3eed ff8c 0000 0200 myinsn.le.f 0,0x200,0x200
63- 114: 3eed f0aa 0000 0200 myinsn.ge.f 0,0x200,0x2
26+ 6c: 38f0 0080 myinsn r0,r0,r2
27+ 70: 3bf0 0140 myinsn r3,r3,r5
28+ 74: 3ef0 0201 myinsn.eq r6,r6,r8
29+ 78: 39f0 12c1 myinsn.eq r9,r9,r11
30+ 7c: 3cf0 1382 myinsn.ne r12,r12,r14
31+ 80: 3ff0 1442 myinsn.ne r15,r15,r17
32+ 84: 3af0 2503 myinsn.p r18,r18,r20
33+ 88: 3df0 25c3 myinsn.p r21,r21,r23
34+ 8c: 38f0 3684 myinsn.n r24,r24,gp
35+ 90: 3bf0 3744 myinsn.n fp,fp,ilink
36+ 94: 3ef0 37c5 myinsn.c r30,r30,blink
37+ 98: 3bf0 00c5 myinsn.c r3,r3,r3
38+ 9c: 3bf0 0205 myinsn.c r3,r3,r8
39+ a0: 3bf0 0106 myinsn.nc r3,r3,r4
40+ a4: 3cf0 0106 myinsn.nc r4,r4,r4
41+ a8: 3cf0 01c6 myinsn.nc r4,r4,r7
42+ ac: 3cf0 0147 myinsn.v r4,r4,r5
43+ b0: 3df0 0147 myinsn.v r5,r5,r5
44+ b4: 3df0 0148 myinsn.nv r5,r5,r5
45+ b8: 3df0 0148 myinsn.nv r5,r5,r5
46+ bc: 3ef0 0009 myinsn.gt r6,r6,r0
47+ c0: 38f0 002a myinsn.ge r0,r0,0
48+ c4: 39f0 006b myinsn.lt r1,r1,0x1
49+ c8: 3bf0 00ed myinsn.hi r3,r3,0x3
50+ cc: 3cf0 012e myinsn.ls r4,r4,0x4
51+ d0: 3df0 016f myinsn.pnz r5,r5,0x5
52+ d4: 3930 8080 myinsn.f r0,r1,r2
53+ d8: 3970 8040 myinsn.f r0,r1,0x1
54+ dc: 3e30 f080 0000 0001 myinsn.f r0,0x1,r2
55+ e4: 3930 80be myinsn.f 0,r1,r2
56+ e8: 3930 8f80 0000 0200 myinsn.f r0,r1,0x200
57+ f0: 3e30 f080 0000 0200 myinsn.f r0,0x200,r2
58+ f8: 39f0 8081 myinsn.eq.f r1,r1,r2
59+ fc: 38f0 8022 myinsn.ne.f r0,r0,0
60+ 100: 3af0 808b myinsn.lt.f r2,r2,r2
61+ 104: 3ef0 f0a9 0000 0001 myinsn.gt.f 0,0x1,0x2
62+ 10c: 3ef0 ff8c 0000 0200 myinsn.le.f 0,0x200,0x200
63+ 114: 3ef0 f0aa 0000 0200 myinsn.ge.f 0,0x200,0x2
--- a/gas/testsuite/gas/arc/textinsn3op.s
+++ b/gas/testsuite/gas/arc/textinsn3op.s
@@ -1,5 +1,5 @@
11 # Insn 3op .extInstruction test
2- .extInstruction myinsn, 0x07, 0x2d, SUFFIX_FLAG|SUFFIX_COND, SYNTAX_3OP
2+ .extInstruction myinsn, 0x07, 0x30, SUFFIX_FLAG|SUFFIX_COND, SYNTAX_3OP
33
44 myinsn r0,r1,r2
55 myinsn r26,fp,sp
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,10 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * opcode/arc.h: Add nps400 extension and instruction
4+ subclass.
5+ Remove ARC_OPCODE_NPS400
6+ * elf/arc.h: Remove E_ARC_MACH_NPS400
7+
18 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
29
310 * opcode/sparc.h (enum sparc_opcode_arch_val): Add
--- a/include/elf/arc.h
+++ b/include/elf/arc.h
@@ -48,7 +48,6 @@ END_RELOC_NUMBERS (R_ARC_max)
4848 #define E_ARC_MACH_ARC600 0x00000002
4949 #define E_ARC_MACH_ARC601 0x00000004
5050 #define E_ARC_MACH_ARC700 0x00000003
51-#define E_ARC_MACH_NPS400 0x00000007
5251 #define EF_ARC_CPU_ARCV2EM 0x00000005
5352 #define EF_ARC_CPU_ARCV2HS 0x00000006
5453
--- a/include/opcode/arc.h
+++ b/include/opcode/arc.h
@@ -70,6 +70,7 @@ typedef enum
7070 MPY7E,
7171 MPY8E,
7272 MPY9E,
73+ NPS400,
7374 QUARKSE,
7475 SHFT1,
7576 SHFT2,
@@ -172,7 +173,6 @@ extern const struct arc_opcode arc_opcodes[];
172173 #define ARC_OPCODE_ARC700 0x0002 /* ARC 700 specific insns. */
173174 #define ARC_OPCODE_ARCv2EM 0x0004 /* ARCv2 EM specific insns. */
174175 #define ARC_OPCODE_ARCv2HS 0x0008 /* ARCv2 HS specific insns. */
175-#define ARC_OPCODE_NPS400 0x0010 /* NPS400 specific insns. */
176176
177177 /* CPU combi. */
178178 #define ARC_OPCODE_ARCALL (ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 \
@@ -186,6 +186,7 @@ extern const struct arc_opcode arc_opcodes[];
186186 #define ARC_ATOMIC 0x0002 /* Mutual exclusive with LLOCK. */
187187 #define ARC_MPY 0x0004
188188 #define ARC_MULT 0x0004
189+#define ARC_NPS400 0x0008
189190
190191 /* Floating point support. */
191192 #define ARC_DPFP 0x0010
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
4+ * testsuite/ld-arc/nps-1b.d: Likewise.
5+
16 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
27
38 PR ld/20267
--- a/ld/testsuite/ld-arc/nps-1a.d
+++ b/ld/testsuite/ld-arc/nps-1a.d
@@ -1,5 +1,5 @@
11 #source: nps-1.s
2-#as: -mcpu=nps400
2+#as: -mcpu=arc700 -mnps400
33 #ld: -defsym=foo=0x57f03000
44 #objdump: -d
55
--- a/ld/testsuite/ld-arc/nps-1b.d
+++ b/ld/testsuite/ld-arc/nps-1b.d
@@ -1,4 +1,4 @@
11 #source: nps-1.s
2-#as: -mcpu=nps400
2+#as: -mcpu=arc700 -mnps400
33 #ld: -defsym=foo=0x56f03000
44 #error_output: nps-1b.err
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,13 @@
1+2016-06-21 Graham Markall <graham.markall@embecosm.com>
2+
3+ * arc-dis.c (arc_insn_length): Add comment on instruction length.
4+ Use same method for determining instruction length on ARC700 and
5+ NPS-400.
6+ (arc_insn_length, print_insn_arc): Remove bfd_mach_arc_nps400.
7+ * arc-nps400-tbl.h: Make all nps400 instructions ARC700 instructions
8+ with the NPS400 subclass.
9+ * arc-opc.c: Likewise.
10+
111 2016-06-17 Jose E. Marchesi <jose.marchesi@oracle.com>
212
313 * sparc-opc.c (rdasr): New macro.
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -557,7 +557,12 @@ arc_insn_length (bfd_byte msb, bfd_byte lsb, struct disassemble_info *info)
557557
558558 switch (info->mach)
559559 {
560- case bfd_mach_arc_nps400:
560+ case bfd_mach_arc_arc700:
561+ /* The nps400 extension set requires this special casing of the
562+ instruction length calculation. Right now this is not causing any
563+ problems as none of the known extensions overlap in opcode space,
564+ but, if they ever do then we might need to start carrying
565+ information around in the elf about which extensions are in use. */
561566 if (major_opcode == 0xb)
562567 {
563568 bfd_byte minor_opcode = lsb & 0x1f;
@@ -565,7 +570,6 @@ arc_insn_length (bfd_byte msb, bfd_byte lsb, struct disassemble_info *info)
565570 if (minor_opcode < 4)
566571 return 2;
567572 }
568- case bfd_mach_arc_arc700:
569573 case bfd_mach_arc_arc600:
570574 return (major_opcode > 0xb) ? 2 : 4;
571575 break;
@@ -719,10 +723,6 @@ print_insn_arc (bfd_vma memaddr,
719723
720724 switch (info->mach)
721725 {
722- case bfd_mach_arc_nps400:
723- isa_mask = ARC_OPCODE_ARC700 | ARC_OPCODE_NPS400;
724- break;
725-
726726 case bfd_mach_arc_arc700:
727727 isa_mask = ARC_OPCODE_ARC700;
728728 break;
--- a/opcodes/arc-nps400-tbl.h
+++ b/opcodes/arc-nps400-tbl.h
@@ -1,38 +1,38 @@
11 /**** Bit Manipulation Instructions ****/
22
33 /* movl<.cl> */
4-{ "movh", 0x48080000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_R_SRC1, NPS_UIMM16 }, { 0 }},
5-{ "movh", 0x48180000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_UIMM16 }, { C_NPS_CL }},
4+{ "movh", 0x48080000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_R_SRC1, NPS_UIMM16 }, { 0 }},
5+{ "movh", 0x48180000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_UIMM16 }, { C_NPS_CL }},
66
77 /* movl<.cl> */
8-{ "movl", 0x48090000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_R_SRC1, NPS_UIMM16 }, { 0 }},
9-{ "movl", 0x48190000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_UIMM16 }, { C_NPS_CL }},
8+{ "movl", 0x48090000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_R_SRC1, NPS_UIMM16 }, { 0 }},
9+{ "movl", 0x48190000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_UIMM16 }, { C_NPS_CL }},
1010
1111 /* movb<.f><.cl> */
12-{ "movb", 0x48010000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
13-{ "movb", 0x48018000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F, C_NPS_CL }},
12+{ "movb", 0x48010000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
13+{ "movb", 0x48018000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F, C_NPS_CL }},
1414
1515 /* movbi<.f><.cl> */
16-{ "movbi", 0x480f0000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_R_SRC1, NPS_BITOP_UIMM8, NPS_BITOP_DST_POS, NPS_BITOP_SIZE_2B }, { C_NPS_F }},
17-{ "movbi", 0x480f8000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST, NPS_BITOP_UIMM8, NPS_BITOP_DST_POS, NPS_BITOP_SIZE_2B }, { C_NPS_F, C_NPS_CL }},
16+{ "movbi", 0x480f0000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_R_SRC1, NPS_BITOP_UIMM8, NPS_BITOP_DST_POS, NPS_BITOP_SIZE_2B }, { C_NPS_F }},
17+{ "movbi", 0x480f8000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST, NPS_BITOP_UIMM8, NPS_BITOP_DST_POS, NPS_BITOP_SIZE_2B }, { C_NPS_F, C_NPS_CL }},
1818
1919 /* decode1<.f> */
20-{ "decode1", 0x48038040, 0xf80f83e0, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
20+{ "decode1", 0x48038040, 0xf80f83e0, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
2121
2222 /* decode1.cl<.f> */
23-{ "decode1", 0x48038060, 0xf80803e0, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS_SZ }, { C_NPS_CL, C_NPS_F }},
23+{ "decode1", 0x48038060, 0xf80803e0, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_DST_POS_SZ }, { C_NPS_CL, C_NPS_F }},
2424
2525 /* fbset<.f> */
26-{ "fbset", 0x48038000, 0xf80f83e0, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
26+{ "fbset", 0x48038000, 0xf80f83e0, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
2727
2828 /* fbclr<.f> */
29-{ "fbclr", 0x48030000, 0xf80f83e0, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
29+{ "fbclr", 0x48030000, 0xf80f83e0, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
3030
3131 /* encode0<.f> */
32-{ "encode0", 0x48040000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
32+{ "encode0", 0x48040000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
3333
3434 /* encode1<.f> */
35-{ "encode1", 0x48048000, 0xf80f8000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
35+{ "encode1", 0x48048000, 0xf80f8000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BITOP_SRC_POS, NPS_BITOP_SIZE }, { C_NPS_F }},
3636
3737 /* mrgb - 48 bit instruction, see arc_long_opcodes in arc-opc.c. */
3838 /* mrgb.cl - 48 bit instruction, see arc_long_opcodes in arc-opc.c. */
@@ -50,108 +50,108 @@
5050 /* mov4b.cl - 64 bit instruction, see arc_long_opcodes in arc-opc.c. */
5151
5252 /* rflt a,b,c 00111bbb00101110FBBBCCCCCCAAAAAA */
53-{ "rflt", 0x382e0000, 0xf8ff8000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, RC }, { 0 }},
53+{ "rflt", 0x382e0000, 0xf8ff8000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, RC }, { 0 }},
5454
5555 /* rflt a,limm,c 0011111000101110F111CCCCCCAAAAAA */
56-{ "rflt", 0x3e2e7000, 0xfffff000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, RC }, { 0 }},
56+{ "rflt", 0x3e2e7000, 0xfffff000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, RC }, { 0 }},
5757
5858 /* rflt a,b,u6 00111bbb01101110FBBBuuuuuuAAAAAA */
59-{ "rflt", 0x386e0000, 0xf8ff8000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, NPS_RFLT_UIMM6 }, { 0 }},
59+{ "rflt", 0x386e0000, 0xf8ff8000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, NPS_RFLT_UIMM6 }, { 0 }},
6060
6161 /* rflt 0,b,c 00111bbb00101110FBBBCCCCCC111110 */
62-{ "rflt", 0x382e003e, 0xf8ff803f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, RC }, { 0 }},
62+{ "rflt", 0x382e003e, 0xf8ff803f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, RC }, { 0 }},
6363
6464 /* rflt 0,limm,c 0011111000101110F111CCCCCC111110 */
65-{ "rflt", 0x3e2e703e, 0xfffff03f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, RC }, { 0 }},
65+{ "rflt", 0x3e2e703e, 0xfffff03f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, RC }, { 0 }},
6666
6767 /* rflt 0,b,u6 00111bbb01101110FBBBuuuuuu111110 */
68-{ "rflt", 0x386e003e, 0xf8ff803f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, NPS_RFLT_UIMM6 }, { 0 }},
68+{ "rflt", 0x386e003e, 0xf8ff803f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, NPS_RFLT_UIMM6 }, { 0 }},
6969
7070 /* rflt 0,b,limm 00111bbb00101110FBBB111110111110 */
71-{ "rflt", 0x382e0fbe, 0xf8ff8fff, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, LIMM }, { 0 }},
71+{ "rflt", 0x382e0fbe, 0xf8ff8fff, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, LIMM }, { 0 }},
7272
7373 /* rflt a,b,limm 00111bbb00101110FBBB111110AAAAAA */
74-{ "rflt", 0x382e0f80, 0xf8ff8fc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, LIMM }, { 0 }},
74+{ "rflt", 0x382e0f80, 0xf8ff8fc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, LIMM }, { 0 }},
7575
7676 /* rflt a,limm,limm 0011111000101110F111111110AAAAAA */
77-{ "rflt", 0x3e2e7f80, 0xffffffc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, LIMMdup }, { 0 }},
77+{ "rflt", 0x3e2e7f80, 0xffffffc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, LIMMdup }, { 0 }},
7878
7979 /* rflt a,limm,u6 0011111001101110F111uuuuuuAAAAAA */
80-{ "rflt", 0x3e6e7000, 0xfffff000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, NPS_RFLT_UIMM6 }, { 0 }},
80+{ "rflt", 0x3e6e7000, 0xfffff000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, NPS_RFLT_UIMM6 }, { 0 }},
8181
8282 /* rflt 0,limm,u6 0011111001101110F111uuuuuu111110 */
83-{ "rflt", 0x3e6e703e, 0xfffff03f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, NPS_RFLT_UIMM6 }, { 0 }},
83+{ "rflt", 0x3e6e703e, 0xfffff03f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, NPS_RFLT_UIMM6 }, { 0 }},
8484
8585 /* crc16<.r> a,b,c 00111bbb00110011RBBBCCCCCCAAAAAA */
86-{ "crc16", 0x38330000, 0xf8ff0000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, RC }, { C_NPS_R }},
86+{ "crc16", 0x38330000, 0xf8ff0000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, RC }, { C_NPS_R }},
8787
8888 /* crc16<.r> a,limm,c 0011111000110011R111CCCCCCAAAAAA */
89-{ "crc16", 0x3e337000, 0xffff7000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, RC }, { C_NPS_R }},
89+{ "crc16", 0x3e337000, 0xffff7000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, RC }, { C_NPS_R }},
9090
9191 /* crc16<.r> a,b,u6 00111bbb01110011RBBBuuuuuuAAAAAA */
92-{ "crc16", 0x38730000, 0xf8ff0000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, UIMM6_20 }, { C_NPS_R }},
92+{ "crc16", 0x38730000, 0xf8ff0000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, UIMM6_20 }, { C_NPS_R }},
9393
9494 /* crc16<.r> 0,b,c 00111bbb00110011RBBBCCCCCC111110 */
95-{ "crc16", 0x3833003e, 0xf8ff003f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, RC }, { C_NPS_R }},
95+{ "crc16", 0x3833003e, 0xf8ff003f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, RC }, { C_NPS_R }},
9696
9797 /* crc16<.r> 0,limm,c 0011111000110011R111CCCCCC111110 */
98-{ "crc16", 0x3e33703e, 0xffff703f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, RC }, { C_NPS_R }},
98+{ "crc16", 0x3e33703e, 0xffff703f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, RC }, { C_NPS_R }},
9999
100100 /* crc16<.r> 0,b,u6 00111bbb01110011RBBBuuuuuu111110 */
101-{ "crc16", 0x3873003e, 0xf8ff003f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, UIMM6_20 }, { C_NPS_R }},
101+{ "crc16", 0x3873003e, 0xf8ff003f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, UIMM6_20 }, { C_NPS_R }},
102102
103103 /* crc16<.r> 0,b,limm 00111bbb00110011RBBB111110111110 */
104-{ "crc16", 0x38330fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, LIMM }, { C_NPS_R }},
104+{ "crc16", 0x38330fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, LIMM }, { C_NPS_R }},
105105
106106 /* crc16<.r> a,b,limm 00111bbb00110011RBBB111110AAAAAA */
107-{ "crc16", 0x38330f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, LIMM }, { C_NPS_R }},
107+{ "crc16", 0x38330f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, LIMM }, { C_NPS_R }},
108108
109109 /* crc16<.r> a,limm,limm 0011111000110011R111111110AAAAAA */
110-{ "crc16", 0x3e337f80, 0xffff7fc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, LIMMdup }, { C_NPS_R }},
110+{ "crc16", 0x3e337f80, 0xffff7fc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, LIMMdup }, { C_NPS_R }},
111111
112112 /* crc16<.r> a,limm,u6 0011111001110011R111uuuuuuAAAAAA */
113-{ "crc16", 0x3e737000, 0xffff7000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, UIMM6_20 }, { C_NPS_R }},
113+{ "crc16", 0x3e737000, 0xffff7000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, UIMM6_20 }, { C_NPS_R }},
114114
115115 /* crc16<.r> 0,limm,u6 0011111001110011R111uuuuuu111110 */
116-{ "crc16", 0x3e73703e, 0xffff703f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, UIMM6_20 }, { C_NPS_R }},
116+{ "crc16", 0x3e73703e, 0xffff703f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, UIMM6_20 }, { C_NPS_R }},
117117
118118 /* crc32<.r> a,b,c 00111 bbb 00 110100 R BBB CCCCCC AAAAAA */
119-{ "crc32", 0x38340000, 0xf8ff0000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, RC }, { C_NPS_R }},
119+{ "crc32", 0x38340000, 0xf8ff0000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, RC }, { C_NPS_R }},
120120
121121 /* crc32<.r> a,limm,c 00111 110 00 110100 R 111 CCCCCC AAAAAA */
122-{ "crc32", 0x3e347000, 0xffff7000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, RC }, { C_NPS_R }},
122+{ "crc32", 0x3e347000, 0xffff7000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, RC }, { C_NPS_R }},
123123
124124 /* crc32<.r> a,b,u6 00111 bbb 01 110100 R BBB uuuuuu AAAAAA */
125-{ "crc32", 0x38740000, 0xf8ff0000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, UIMM6_20 }, { C_NPS_R }},
125+{ "crc32", 0x38740000, 0xf8ff0000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, UIMM6_20 }, { C_NPS_R }},
126126
127127 /* crc32<.r> 0,b,c 00111 bbb 00 110100 R BBB CCCCCC 111110 */
128-{ "crc32", 0x3834003e, 0xf8ff003f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, RC }, { C_NPS_R }},
128+{ "crc32", 0x3834003e, 0xf8ff003f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, RC }, { C_NPS_R }},
129129
130130 /* crc32<.r> 0,limm,c 00111 110 00 110100 R 111 CCCCCC 111110 */
131-{ "crc32", 0x3e34703e, 0xffff703f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, RC }, { C_NPS_R }},
131+{ "crc32", 0x3e34703e, 0xffff703f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, RC }, { C_NPS_R }},
132132
133133 /* crc32<.r> 0,b,u6 00111 bbb 01 110100 R BBB uuuuuu 111110 */
134-{ "crc32", 0x3874003e, 0xf8ff003f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, UIMM6_20 }, { C_NPS_R }},
134+{ "crc32", 0x3874003e, 0xf8ff003f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, UIMM6_20 }, { C_NPS_R }},
135135
136136 /* crc32<.r> 0,b,limm 00111 bbb 00 110100 R BBB 111110 111110 */
137-{ "crc32", 0x38340fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, RB, LIMM }, { C_NPS_R }},
137+{ "crc32", 0x38340fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, RB, LIMM }, { C_NPS_R }},
138138
139139 /* crc32<.r> a,b,limm 00111 bbb 00 110100 R BBB 111110 AAAAAA */
140-{ "crc32", 0x38340f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, RB, LIMM }, { C_NPS_R }},
140+{ "crc32", 0x38340f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, RB, LIMM }, { C_NPS_R }},
141141
142142 /* crc32<.r> a,limm,limm 00111 110 00 110100 R 111 111110 AAAAAA */
143-{ "crc32", 0x3e347f80, 0xffff7fc0, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, LIMMdup }, { C_NPS_R }},
143+{ "crc32", 0x3e347f80, 0xffff7fc0, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, LIMMdup }, { C_NPS_R }},
144144
145145 /* crc32<.r> a,limm,u6 00111 110 01 110100 R 111 uuuuuu AAAAAA */
146-{ "crc32", 0x3e747000, 0xffff7000, ARC_OPCODE_NPS400, BITOP, NONE, { RA, LIMM, UIMM6_20 }, { C_NPS_R }},
146+{ "crc32", 0x3e747000, 0xffff7000, ARC_OPCODE_ARC700, BITOP, NPS400, { RA, LIMM, UIMM6_20 }, { C_NPS_R }},
147147
148148 /* crc32<.r> 0,limm,u6 00111 110 01 110100 R 111 uuuuuu 111110 */
149-{ "crc32", 0x3e74703e, 0xffff703f, ARC_OPCODE_NPS400, BITOP, NONE, { ZA, LIMM, UIMM6_20 }, { C_NPS_R }},
149+{ "crc32", 0x3e74703e, 0xffff703f, ARC_OPCODE_ARC700, BITOP, NPS400, { ZA, LIMM, UIMM6_20 }, { C_NPS_R }},
150150
151151 /**** Arithmetic & Logic Instructions ****/
152152
153153 #define ADDB_LIKE(NAME,SUBOP2) \
154- { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, NPS_ADDB_SIZE }, { C_NPS_F, C_NPS_SX }},
154+ { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, NPS_ADDB_SIZE }, { C_NPS_F, C_NPS_SX }},
155155
156156 ADDB_LIKE ("addb", 0)
157157 ADDB_LIKE ("subb", 4)
@@ -159,7 +159,7 @@ ADDB_LIKE ("adcb", 5)
159159 ADDB_LIKE ("sbcb", 6)
160160
161161 #define ANDB_LIKE(NAME,SUBOP2,SIZE_OPERAND) \
162- { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, SIZE_OPERAND }, { C_NPS_F }},
162+ { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, SIZE_OPERAND }, { C_NPS_F }},
163163
164164 ANDB_LIKE ("andb", 1, NPS_ANDB_SIZE)
165165 ANDB_LIKE ("xorb", 2, NPS_ANDB_SIZE)
@@ -170,40 +170,40 @@ ANDB_LIKE ("shlb", 0xb, NPS_ANDB_SIZE)
170170 ANDB_LIKE ("shrb", 0xc, NPS_ANDB_SIZE)
171171
172172 #define NOTB_LIKE(NAME,SUBOP2) \
173- { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_ANDB_SIZE }, { C_NPS_F }},
173+ { NAME, (0x48000000 | SUBOP2), 0xf80f001f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_ANDB_SIZE }, { C_NPS_F }},
174174
175175 NOTB_LIKE ("notb", 0x9)
176176 NOTB_LIKE ("cntbb", 0xa)
177177
178178 #define DIV_LIKE(NAME,DIV_MODE) \
179- { NAME, (0x4800000d | DIV_MODE << 14), 0xf80fc3ff, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, }, { C_NPS_F }}, \
180- { NAME, (0x4800020d | DIV_MODE << 14), 0xf8efc21f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_DIV_UIMM4, NPS_SRC1_POS }, { C_NPS_F }},
179+ { NAME, (0x4800000d | DIV_MODE << 14), 0xf80fc3ff, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC1_POS, NPS_SRC2_POS, }, { C_NPS_F }}, \
180+ { NAME, (0x4800020d | DIV_MODE << 14), 0xf8efc21f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_DIV_UIMM4, NPS_SRC1_POS }, { C_NPS_F }},
181181
182182 DIV_LIKE ("div", 0x1)
183183 DIV_LIKE ("mod", 0x2)
184184 DIV_LIKE ("divm", 0x0)
185185
186-{ "qcmp", 0x4810000e, 0xf81f001e, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, NPS_QCMP_M3 }, { C_NPS_AR_AL }},
187-{ "qcmp", 0x481001ee, 0xf81f01fe, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2 }, { C_NPS_AR_AL }},
188-{ "qcmp", 0x481001ee, 0xf81f81fe, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1 }, { C_NPS_AR_AL }},
189-{ "qcmp", 0x481001ee, 0xf81fc1fe, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE }, { C_NPS_AR_AL }},
186+{ "qcmp", 0x4810000e, 0xf81f001e, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2, NPS_QCMP_M3 }, { C_NPS_AR_AL }},
187+{ "qcmp", 0x481001ee, 0xf81f01fe, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1, NPS_QCMP_M2 }, { C_NPS_AR_AL }},
188+{ "qcmp", 0x481001ee, 0xf81f81fe, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE, NPS_QCMP_M1 }, { C_NPS_AR_AL }},
189+{ "qcmp", 0x481001ee, 0xf81fc1fe, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS, NPS_QCMP_SIZE }, { C_NPS_AR_AL }},
190190
191-{ "calcsd", 0x48000010, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_CALC_ENTRY_SIZE }, { C_NPS_F }},
192-{ "calcxd", 0x48004010, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_CALC_ENTRY_SIZE }, { C_NPS_F }},
191+{ "calcsd", 0x48000010, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_CALC_ENTRY_SIZE }, { C_NPS_F }},
192+{ "calcxd", 0x48004010, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_CALC_ENTRY_SIZE }, { C_NPS_F }},
193193
194-{ "calcbsd", 0x48000030, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
195-{ "calcbxd", 0x48004030, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
194+{ "calcbsd", 0x48000030, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
195+{ "calcbxd", 0x48004030, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
196196
197-{ "calckey", 0x48000050, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
198-{ "calcxkey", 0x48004050, 0xf80f407f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
197+{ "calckey", 0x48000050, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
198+{ "calcxkey", 0x48004050, 0xf80f407f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
199199
200-{ "mxb", 0x580b0000, 0xf81f8007, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR }, { 0 }},
201-{ "mxb", 0x580b8000, 0xf81f8007, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR, NPS_BITS_TO_SCRAMBLE }, { C_NPS_S }},
202-{ "imxb", 0x580b0001, 0xf81f8007, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR }, { 0 }},
203-{ "imxb", 0x580b8001, 0xf81f8007, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR, NPS_BITS_TO_SCRAMBLE }, { C_NPS_S }},
200+{ "mxb", 0x580b0000, 0xf81f8007, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR }, { 0 }},
201+{ "mxb", 0x580b8000, 0xf81f8007, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR, NPS_BITS_TO_SCRAMBLE }, { C_NPS_S }},
202+{ "imxb", 0x580b0001, 0xf81f8007, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR }, { 0 }},
203+{ "imxb", 0x580b8001, 0xf81f8007, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_FIELD_START_POS, NPS_FIELD_SIZE, NPS_SHIFT_FACTOR, NPS_BITS_TO_SCRAMBLE }, { C_NPS_S }},
204204
205205 #define ADDL_LIKE(NAME,SUBOP2,SHIM) \
206- { NAME, (0x48000000 | (SUBOP2 << 16)), 0xf80f0000, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST, NPS_R_SRC1, SHIM }, { C_NPS_F }},
206+ { NAME, (0x48000000 | (SUBOP2 << 16)), 0xf80f0000, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST, NPS_R_SRC1, SHIM }, { C_NPS_F }},
207207
208208 ADDL_LIKE ("addl", 0xA, NPS_SIMM16)
209209 ADDL_LIKE ("subl", 0xB, NPS_SIMM16)
@@ -211,190 +211,190 @@ ADDL_LIKE ("orl", 0xC, NPS_UIMM16)
211211 ADDL_LIKE ("andl", 0xD, NPS_UIMM16)
212212 ADDL_LIKE ("xorl", 0xE, NPS_UIMM16)
213213
214-{ "andab", 0x48000011, 0xf80f801f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
215-{ "andab", 0x48008011, 0xf80f801f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
216-{ "orab", 0x48000012, 0xf80f801f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
217-{ "orab", 0x48008012, 0xf80f801f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
214+{ "andab", 0x48000011, 0xf80f801f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
215+{ "andab", 0x48008011, 0xf80f801f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
216+{ "orab", 0x48000012, 0xf80f801f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
217+{ "orab", 0x48008012, 0xf80f801f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_SRC2_POS_5B, NPS_BITOP_SIZE }, { C_NPS_F } },
218218
219-{ "lbdsize", 0x382f0005, 0xf8ff003f, ARC_OPCODE_NPS400, ARITH, NONE, { RB, RC }, { C_F }},
219+{ "lbdsize", 0x382f0005, 0xf8ff003f, ARC_OPCODE_ARC700, ARITH, NPS400, { RB, RC }, { C_F }},
220220
221-{ "bdlen", 0x48000013, 0xf80fc01f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BDLEN_MAX_LEN }, { C_NPS_F }},
222-{ "bdlen", 0x48004013, 0xf80fc01f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
223-{ "bdlen", 0x48008013, 0xf80fc01f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BDLEN_MAX_LEN }, { C_NPS_F }},
224-{ "bdlen", 0x4800c013, 0xf80fc01f, ARC_OPCODE_NPS400, ARITH, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
221+{ "bdlen", 0x48000013, 0xf80fc01f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, NPS_BDLEN_MAX_LEN }, { C_NPS_F }},
222+{ "bdlen", 0x48004013, 0xf80fc01f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
223+{ "bdlen", 0x48008013, 0xf80fc01f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, NPS_BDLEN_MAX_LEN }, { C_NPS_F }},
224+{ "bdlen", 0x4800c013, 0xf80fc01f, ARC_OPCODE_ARC700, ARITH, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B }, { C_NPS_F }},
225225
226226 /* csma a,b,c 00111bbb00100001FBBBCCCCCCAAAAAA */
227-{ "csma", 0x382a0000, 0xf8ff8000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, RC }, { 0 }},
227+{ "csma", 0x382a0000, 0xf8ff8000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, RC }, { 0 }},
228228
229229 /* csma a,limm,c 0011111000100001F111CCCCCCAAAAAA */
230-{ "csma", 0x3e2a7000, 0xfffff000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, RC }, { 0 }},
230+{ "csma", 0x3e2a7000, 0xfffff000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, RC }, { 0 }},
231231
232232 /* csma a,b,u6 00111bbb01100001FBBBuuuuuuAAAAAA */
233-{ "csma", 0x386a0000, 0xf8ff8000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, UIMM6_20 }, { 0 }},
233+{ "csma", 0x386a0000, 0xf8ff8000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, UIMM6_20 }, { 0 }},
234234
235235 /* csma 0,b,c 00111bbb00100001FBBBCCCCCC111110 */
236-{ "csma", 0x382a003e, 0xf8ff803f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, RC }, { 0 }},
236+{ "csma", 0x382a003e, 0xf8ff803f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, RC }, { 0 }},
237237
238238 /* csma 0,limm,c 0011111000100001F111CCCCCC111110 */
239-{ "csma", 0x3e2a703e, 0xfffff03f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, RC }, { 0 }},
239+{ "csma", 0x3e2a703e, 0xfffff03f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, RC }, { 0 }},
240240
241241 /* csma 0,b,u6 00111bbb01100001FBBBuuuuuu111110 */
242-{ "csma", 0x386a003e, 0xf8ff803f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, UIMM6_20 }, { 0 }},
242+{ "csma", 0x386a003e, 0xf8ff803f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, UIMM6_20 }, { 0 }},
243243
244244 /* csma 0,b,limm 00111bbb00100001FBBB111110111110 */
245-{ "csma", 0x382a0fbe, 0xf8ff8fff, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, LIMM }, { 0 }},
245+{ "csma", 0x382a0fbe, 0xf8ff8fff, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, LIMM }, { 0 }},
246246
247247 /* csma a,b,limm 00111bbb00100001FBBB111110AAAAAA */
248-{ "csma", 0x382a0f80, 0xf8ff8fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, LIMM }, { 0 }},
248+{ "csma", 0x382a0f80, 0xf8ff8fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, LIMM }, { 0 }},
249249
250250 /* csma a,limm,limm 0011111000100001F111111110AAAAAA */
251-{ "csma", 0x3e2a7f80, 0xffffffc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, LIMMdup }, { 0 }},
251+{ "csma", 0x3e2a7f80, 0xffffffc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, LIMMdup }, { 0 }},
252252
253253 /* csma a,limm,u6 0011111001100001F111uuuuuuAAAAAA */
254-{ "csma", 0x3e6a7000, 0xfffff000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, UIMM6_20 }, { 0 }},
254+{ "csma", 0x3e6a7000, 0xfffff000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, UIMM6_20 }, { 0 }},
255255
256256 /* csma 0,limm,u6 0011111001100001F111uuuuuu111110 */
257-{ "csma", 0x3e6a703e, 0xfffff03f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, UIMM6_20 }, { 0 }},
257+{ "csma", 0x3e6a703e, 0xfffff03f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, UIMM6_20 }, { 0 }},
258258
259259 /* csms a,b,c 00111bbb00101100FBBBCCCCCCAAAAAA */
260-{ "csms", 0x382c0000, 0xf8ff8000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, RC }, { 0 }},
260+{ "csms", 0x382c0000, 0xf8ff8000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, RC }, { 0 }},
261261
262262 /* csma a,limm,c 0011111000101100F111CCCCCCAAAAAA */
263-{ "csms", 0x3e2c7000, 0xfffff000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, RC }, { 0 }},
263+{ "csms", 0x3e2c7000, 0xfffff000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, RC }, { 0 }},
264264
265265 /* csms a,b,u6 00111bbb01101100FBBBuuuuuuAAAAAA */
266-{ "csms", 0x386c0000, 0xf8ff8000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, UIMM6_20 }, { 0 }},
266+{ "csms", 0x386c0000, 0xf8ff8000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, UIMM6_20 }, { 0 }},
267267
268268 /* csms 0,b,c 00111bbb00101100FBBBCCCCCC111110 */
269-{ "csms", 0x382c003e, 0xf8ff803f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, RC }, { 0 }},
269+{ "csms", 0x382c003e, 0xf8ff803f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, RC }, { 0 }},
270270
271271 /* csms 0,limm,c 0011111000101100F111CCCCCC111110 */
272-{ "csms", 0x3e2c703e, 0xfffff03f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, RC }, { 0 }},
272+{ "csms", 0x3e2c703e, 0xfffff03f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, RC }, { 0 }},
273273
274274 /* csms 0,b,u6 00111bbb01101100FBBBuuuuuu111110 */
275-{ "csms", 0x386c003e, 0xf8ff803f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, UIMM6_20 }, { 0 }},
275+{ "csms", 0x386c003e, 0xf8ff803f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, UIMM6_20 }, { 0 }},
276276
277277 /* csms 0,b,limm 00111bbb00101100FBBB111110111110 */
278-{ "csms", 0x382c0fbe, 0xf8ff8fff, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, LIMM }, { 0 }},
278+{ "csms", 0x382c0fbe, 0xf8ff8fff, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, LIMM }, { 0 }},
279279
280280 /* csms a,b,limm 00111bbb00101100FBBB111110AAAAAA */
281-{ "csms", 0x382c0f80, 0xf8ff8fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, LIMM }, { 0 }},
281+{ "csms", 0x382c0f80, 0xf8ff8fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, LIMM }, { 0 }},
282282
283283 /* csms a,limm,limm 0011111000101100F111111110AAAAAA */
284-{ "csms", 0x3e2c7f80, 0xffffffc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, LIMMdup }, { 0 }},
284+{ "csms", 0x3e2c7f80, 0xffffffc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, LIMMdup }, { 0 }},
285285
286286 /* csms a,limm,u6 0011111001101100F111uuuuuuAAAAAA */
287-{ "csms", 0x3e6c7000, 0xfffff000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, UIMM6_20 }, { 0 }},
287+{ "csms", 0x3e6c7000, 0xfffff000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, UIMM6_20 }, { 0 }},
288288
289289 /* csms 0,limm,u6 0011111001101100F111uuuuuu111110 */
290-{ "csms", 0x3e6c703e, 0xfffff03f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, UIMM6_20 }, { 0 }},
290+{ "csms", 0x3e6c703e, 0xfffff03f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, UIMM6_20 }, { 0 }},
291291
292292 /* cbba a,b,c 00111bbb00101101FBBBCCCCCCAAAAAA */
293-{ "cbba", 0x382d0000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, RC }, { C_F }},
293+{ "cbba", 0x382d0000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, RC }, { C_F }},
294294
295295 /* cbba a,limm,c 0011111000101101F111CCCCCCAAAAAA */
296-{ "cbba", 0x3e2d7000, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, RC }, { C_F }},
296+{ "cbba", 0x3e2d7000, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, RC }, { C_F }},
297297
298298 /* cbba a,b,u6 00111bbb01101101FBBBuuuuuuAAAAAA */
299-{ "cbba", 0x386d0000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, UIMM6_20 }, { C_F }},
299+{ "cbba", 0x386d0000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, UIMM6_20 }, { C_F }},
300300
301301 /* cbba 0,b,c 00111bbb00101101FBBBCCCCCC111110 */
302-{ "cbba", 0x382d003e, 0xf8ff003f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, RC }, { C_F }},
302+{ "cbba", 0x382d003e, 0xf8ff003f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, RC }, { C_F }},
303303
304304 /* cbba 0,limm,c 0011111000101101F111CCCCCC111110 */
305-{ "cbba", 0x3e2d703e, 0xffff703f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, RC }, { C_F }},
305+{ "cbba", 0x3e2d703e, 0xffff703f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, RC }, { C_F }},
306306
307307 /* cbba 0,b,u6 00111bbb01101101FBBBuuuuuu111110 */
308-{ "cbba", 0x386d003e, 0xf8ff003f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, UIMM6_20 }, { C_F }},
308+{ "cbba", 0x386d003e, 0xf8ff003f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, UIMM6_20 }, { C_F }},
309309
310310 /* cbba 0,b,limm 00111bbb00101101FBBB111110111110 */
311-{ "cbba", 0x382d0fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, LIMM }, { C_F }},
311+{ "cbba", 0x382d0fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, LIMM }, { C_F }},
312312
313313 /* cbba a,b,limm 00111bbb00101101FBBB111110AAAAAA */
314-{ "cbba", 0x382d0f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, LIMM }, { C_F }},
314+{ "cbba", 0x382d0f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, LIMM }, { C_F }},
315315
316316 /* cbba a,limm,limm 0011111000101101F111111110AAAAAA */
317-{ "cbba", 0x3e2d7f80, 0xffff7fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, LIMMdup }, { C_F }},
317+{ "cbba", 0x3e2d7f80, 0xffff7fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, LIMMdup }, { C_F }},
318318
319319 /* cbba a,limm,u6 0011111001101101F111uuuuuuAAAAAA */
320-{ "cbba", 0x3e6d7000, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, UIMM6_20 }, { C_F }},
320+{ "cbba", 0x3e6d7000, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, UIMM6_20 }, { C_F }},
321321
322322 /* cbba 0,limm,u6 0011111001101101F111uuuuuu111110 */
323-{ "cbba", 0x3e6d703e, 0xffff703f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, UIMM6_20 }, { C_F }},
323+{ "cbba", 0x3e6d703e, 0xffff703f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, UIMM6_20 }, { C_F }},
324324
325325 /* zncv<.rd|.wr> a,b,c 00111bbb001101010BBBCCCCCCAAAAAA */
326-{ "zncv", 0x38350000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, RC }, { C_NPS_ZNCV }},
326+{ "zncv", 0x38350000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, RC }, { C_NPS_ZNCV }},
327327
328328 /* zncv<.rd|.wr> a,b,u6 00111bbb011101010BBBuuuuuuAAAAAA */
329-{ "zncv", 0x38750000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, UIMM6_20}, { C_NPS_ZNCV }},
329+{ "zncv", 0x38750000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, UIMM6_20}, { C_NPS_ZNCV }},
330330
331331 /* zncv<.rd|.wr> b,b,s12 00111bbb101101010BBBssssssSSSSSS */
332-{ "zncv", 0x38b50000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RB, RBdup, SIMM12_20 }, { C_NPS_ZNCV }},
332+{ "zncv", 0x38b50000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RB, RBdup, SIMM12_20 }, { C_NPS_ZNCV }},
333333
334334 /* zncv<.rd|.wr> a,b,limm 00111bbb001101010BBB111110AAAAAA */
335-{ "zncv", 0x38350f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, LIMM }, { C_NPS_ZNCV }},
335+{ "zncv", 0x38350f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, LIMM }, { C_NPS_ZNCV }},
336336
337337 /* zncv<.rd|.wr> a,limm,c 00111110001101010111CCCCCCAAAAAA */
338-{ "zncv", 0x3e357000, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, RC }, { C_NPS_ZNCV }},
338+{ "zncv", 0x3e357000, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, RC }, { C_NPS_ZNCV }},
339339
340340 /* zncv<.rd|.wr> a,limm,u6 00111110011101010111uuuuuuAAAAAA */
341-{ "zncv", 0x3e757000, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, UIMM6_20 }, { C_NPS_ZNCV }},
341+{ "zncv", 0x3e757000, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, UIMM6_20 }, { C_NPS_ZNCV }},
342342
343343 /* zncv<.rd|.wr> a,limm,limm 00111110001101010111111110AAAAAA */
344-{ "zncv", 0x3e357f80, 0xffff7fc0, ARC_OPCODE_NPS400, ARITH, NONE, { RA, LIMM, LIMMdup }, { C_NPS_ZNCV }},
344+{ "zncv", 0x3e357f80, 0xffff7fc0, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, LIMM, LIMMdup }, { C_NPS_ZNCV }},
345345
346346 /* zncv<.rd|.wr> 0,b,c 00111bbb001101010BBBCCCCCC111110 */
347-{ "zncv", 0x3835003e, 0xf8ff003f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, RC }, { C_NPS_ZNCV }},
347+{ "zncv", 0x3835003e, 0xf8ff003f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, RC }, { C_NPS_ZNCV }},
348348
349349 /* zncv<.rd|.wr> 0,b,u6 00111bbb011101010BBBuuuuuu111110 */
350-{ "zncv", 0x3875003e, 0xf8ff003f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, UIMM6_20 }, { C_NPS_ZNCV }},
350+{ "zncv", 0x3875003e, 0xf8ff003f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, UIMM6_20 }, { C_NPS_ZNCV }},
351351
352352 /* zncv<.rd|.wr> 0,b,limm 00111bbb001101010BBB111110111110 */
353-{ "zncv", 0x38350fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, RB, LIMM }, { C_NPS_ZNCV }},
353+{ "zncv", 0x38350fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, RB, LIMM }, { C_NPS_ZNCV }},
354354
355355 /* zncv<.rd|.wr> 0,limm,c 00111110001101010111CCCCCC111110 */
356-{ "zncv", 0x3e35703e, 0xffff703f, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, RC }, { C_NPS_ZNCV }},
356+{ "zncv", 0x3e35703e, 0xffff703f, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, RC }, { C_NPS_ZNCV }},
357357
358358 /* zncv<.rd|.wr> 0,limm,u6 00111110011101010111uuuuuu111110 */
359-{ "zncv", 0x3e75703e, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, UIMM6_20 }, { C_NPS_ZNCV }},
359+{ "zncv", 0x3e75703e, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, UIMM6_20 }, { C_NPS_ZNCV }},
360360
361361 /* zncv<.rd|.wr> 0,limm,s12 00111110101101010111ssssssSSSSSS */
362-{ "zncv", 0x3eb57000, 0xffff7000, ARC_OPCODE_NPS400, ARITH, NONE, { ZA, LIMM, SIMM12_20 }, { C_NPS_ZNCV }},
362+{ "zncv", 0x3eb57000, 0xffff7000, ARC_OPCODE_ARC700, ARITH, NPS400, { ZA, LIMM, SIMM12_20 }, { C_NPS_ZNCV }},
363363
364364 /* hofs a,b,c */
365-{ "hofs", 0x38360000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, RC }, { C_F }},
365+{ "hofs", 0x38360000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, RC }, { C_F }},
366366
367367 /* hofs a,b,min_hofs,psbc */
368-{ "hofs", 0x38760000, 0xf8ff0000, ARC_OPCODE_NPS400, ARITH, NONE, { RA, RB, NPS_MIN_HOFS, NPS_PSBC }, { C_F }},
368+{ "hofs", 0x38760000, 0xf8ff0000, ARC_OPCODE_ARC700, ARITH, NPS400, { RA, RB, NPS_MIN_HOFS, NPS_PSBC }, { C_F }},
369369
370370 /**** Protocol Decoder Instructions ****/
371371
372372 /* dctcp b,c 00111bbb001011110bbbcccccc000000 */
373-{ "dctcp", 0x382f0000, 0xf8ff803f, ARC_OPCODE_NPS400, NET, NONE, { RB, RC }, { 0 }},
373+{ "dctcp", 0x382f0000, 0xf8ff803f, ARC_OPCODE_ARC700, NET, NPS400, { RB, RC }, { 0 }},
374374
375375 /* dcip a,b,c 00111bbb001011110bbbccccccaaaaaa */
376-{ "dcip", 0x38290000, 0xf8ff8000, ARC_OPCODE_NPS400, NET, NONE, { RA, RB, RC }, { 0 }},
376+{ "dcip", 0x38290000, 0xf8ff8000, ARC_OPCODE_ARC700, NET, NPS400, { RA, RB, RC }, { 0 }},
377377
378378 /* dcet b,c 00111bbb001011110bbbcccccc000010 */
379-{ "dcet", 0x382f0002, 0xf8ff803f, ARC_OPCODE_NPS400, NET, NONE, { RB, RC }, { 0 }},
379+{ "dcet", 0x382f0002, 0xf8ff803f, ARC_OPCODE_ARC700, NET, NPS400, { RB, RC }, { 0 }},
380380
381381 /* dcet a,b,c 00111bbb001000000bbbccccccaaaaaa */
382-{ "dcet", 0x38200000, 0xf8ff8000, ARC_OPCODE_NPS400, NET, NONE, { RA, RB, RC }, { 0 }},
382+{ "dcet", 0x38200000, 0xf8ff8000, ARC_OPCODE_ARC700, NET, NPS400, { RA, RB, RC }, { 0 }},
383383
384384 /**** ACL Instructions ****/
385385
386386 /* dcacl<.f> a,b,c 00111bbb001001010bbbccccccaaaaaa */
387-{ "dcacl", 0x38250000, 0xf8ff0000, ARC_OPCODE_NPS400, ACL, NONE, { RA, RB, RC }, { C_F }},
387+{ "dcacl", 0x38250000, 0xf8ff0000, ARC_OPCODE_ARC700, ACL, NPS400, { RA, RB, RC }, { C_F }},
388388
389389 /**** DPI Instructions ****/
390390
391391 /* hash dst,src1,src2,width,perm,nonlinear,basemat */
392-{ "hash", 0x58180000, 0xf81f0000, ARC_OPCODE_NPS400, DPI, NONE, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_HASH_WIDTH, NPS_HASH_PERM, NPS_HASH_NONLINEAR, NPS_HASH_BASEMAT }, { 0 }},
392+{ "hash", 0x58180000, 0xf81f0000, ARC_OPCODE_ARC700, DPI, NPS400, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_HASH_WIDTH, NPS_HASH_PERM, NPS_HASH_NONLINEAR, NPS_HASH_BASEMAT }, { 0 }},
393393
394394 /* hash.pN dst,src1,src2,width,len,ofs,basemat */
395395
396396 #define HASH_P(FUNC, SUBOP2) \
397- { "hash", (0x58100000 | (SUBOP2 << 16)), 0xf81f0000, ARC_OPCODE_NPS400, DPI, NONE, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_HASH_WIDTH, NPS_HASH_LEN, NPS_HASH_OFS, NPS_HASH_BASEMAT2 }, { C_NPS_P##FUNC }},
397+ { "hash", (0x58100000 | (SUBOP2 << 16)), 0xf81f0000, ARC_OPCODE_ARC700, DPI, NPS400, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_HASH_WIDTH, NPS_HASH_LEN, NPS_HASH_OFS, NPS_HASH_BASEMAT2 }, { C_NPS_P##FUNC }},
398398
399399 HASH_P(0, 0x9)
400400 HASH_P(1, 0xA)
@@ -402,149 +402,149 @@ HASH_P(2, 0xB)
402402 HASH_P(3, 0xC)
403403
404404 /* tr<.f> a,b,c 00111bbb00100001FBBBCCCCCCAAAAAA */
405-{ "tr", 0x38210000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, RC }, { C_F }},
405+{ "tr", 0x38210000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, RC }, { C_F }},
406406
407407 /* tr<.f> a,limm,c 0011111000100001F111CCCCCCAAAAAA */
408-{ "tr", 0x3e217000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, RC }, { C_F }},
408+{ "tr", 0x3e217000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, RC }, { C_F }},
409409
410410 /* tr<.f> a,b,u6 00111bbb01100001FBBBuuuuuuAAAAAA */
411-{ "tr", 0x38610000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, UIMM6_20 }, { C_F }},
411+{ "tr", 0x38610000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, UIMM6_20 }, { C_F }},
412412
413413 /* tr<.f> 0,b,c 00111bbb00100001FBBBCCCCCC111110 */
414-{ "tr", 0x3821003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, RC }, { C_F }},
414+{ "tr", 0x3821003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, RC }, { C_F }},
415415
416416 /* tr<.f> 0,limm,c 0011111000100001F111CCCCCC111110 */
417-{ "tr", 0x3e21703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, RC }, { C_F }},
417+{ "tr", 0x3e21703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, RC }, { C_F }},
418418
419419 /* tr<.f> 0,b,u6 00111bbb01100001FBBBuuuuuu111110 */
420-{ "tr", 0x3861003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, UIMM6_20 }, { C_F }},
420+{ "tr", 0x3861003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, UIMM6_20 }, { C_F }},
421421
422422 /* tr<.f> 0,b,limm 00111bbb00100001FBBB111110111110 */
423-{ "tr", 0x38210fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, LIMM }, { C_F }},
423+{ "tr", 0x38210fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, LIMM }, { C_F }},
424424
425425 /* tr<.f> a,b,limm 00111bbb00100001FBBB111110AAAAAA */
426-{ "tr", 0x38210f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, LIMM }, { C_F }},
426+{ "tr", 0x38210f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, LIMM }, { C_F }},
427427
428428 /* tr<.f> a,limm,limm 0011111000100001F111111110AAAAAA */
429-{ "tr", 0x3e217f80, 0xffff7fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, LIMMdup }, { C_F }},
429+{ "tr", 0x3e217f80, 0xffff7fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, LIMMdup }, { C_F }},
430430
431431 /* tr<.f> a,limm,u6 0011111001100001F111uuuuuuAAAAAA */
432-{ "tr", 0x3e617000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, UIMM6_20 }, { C_F }},
432+{ "tr", 0x3e617000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, UIMM6_20 }, { C_F }},
433433
434434 /* tr<.f> 0,limm,u6 0011111001100001F111uuuuuu111110 */
435-{ "tr", 0x3e61703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, UIMM6_20 }, { C_F }},
435+{ "tr", 0x3e61703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, UIMM6_20 }, { C_F }},
436436
437437 /* utf8 a,b,c 00111bbb00100011FBBBCCCCCCAAAAAA */
438-{ "utf8", 0x38220000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, RC }, { C_F }},
438+{ "utf8", 0x38220000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, RC }, { C_F }},
439439
440440 /* utf8 a,limm,c 0011111000100011F111CCCCCCAAAAAA */
441-{ "utf8", 0x3e227000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, RC }, { C_F }},
441+{ "utf8", 0x3e227000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, RC }, { C_F }},
442442
443443 /* utf8 a,b,u6 00111bbb01100011FBBBuuuuuuAAAAAA */
444-{ "utf8", 0x38620000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, UIMM6_20 }, { C_F }},
444+{ "utf8", 0x38620000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, UIMM6_20 }, { C_F }},
445445
446446 /* utf8 0,b,c 00111bbb00100011FBBBCCCCCC111110 */
447-{ "utf8", 0x3822003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, RC }, { C_F }},
447+{ "utf8", 0x3822003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, RC }, { C_F }},
448448
449449 /* utf8 0,limm,c 0011111000100011F111CCCCCC111110 */
450-{ "utf8", 0x3e22703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, RC }, { C_F }},
450+{ "utf8", 0x3e22703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, RC }, { C_F }},
451451
452452 /* utf8 0,b,u6 00111bbb01100011FBBBuuuuuu111110 */
453-{ "utf8", 0x3862003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, UIMM6_20 }, { C_F }},
453+{ "utf8", 0x3862003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, UIMM6_20 }, { C_F }},
454454
455455 /* utf8 0,b,limm 00111bbb00100011FBBB111110111110 */
456-{ "utf8", 0x38220fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, LIMM }, { C_F }},
456+{ "utf8", 0x38220fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, LIMM }, { C_F }},
457457
458458 /* utf8 a,b,limm 00111bbb00100011FBBB111110AAAAAA */
459-{ "utf8", 0x38220f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, LIMM }, { C_F }},
459+{ "utf8", 0x38220f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, LIMM }, { C_F }},
460460
461461 /* utf8 a,limm,limm 0011111000100011F111111110AAAAAA */
462-{ "utf8", 0x3e227f80, 0xffff7fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, LIMMdup }, { C_F }},
462+{ "utf8", 0x3e227f80, 0xffff7fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, LIMMdup }, { C_F }},
463463
464464 /* utf8 a,limm,u6 0011111001100011F111uuuuuuAAAAAA */
465-{ "utf8", 0x3e627000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, UIMM6_20 }, { C_F }},
465+{ "utf8", 0x3e627000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, UIMM6_20 }, { C_F }},
466466
467467 /* utf8 0,limm,u6 0011111001100011F111uuuuuu111110 */
468-{ "utf8", 0x3e62703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, UIMM6_20 }, { C_F }},
468+{ "utf8", 0x3e62703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, UIMM6_20 }, { C_F }},
469469
470470 /* e4by dst,src1,src2,index0,index1,index2,index3 */
471-{ "e4by", 0x581d0000, 0xf81f0000, ARC_OPCODE_NPS400, DPI, NONE, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_E4BY_INDEX0, NPS_E4BY_INDEX1, NPS_E4BY_INDEX2, NPS_E4BY_INDEX3 }, { 0 }},
471+{ "e4by", 0x581d0000, 0xf81f0000, ARC_OPCODE_ARC700, DPI, NPS400, { NPS_DPI_DST, NPS_DPI_SRC1_3B, NPS_R_SRC2_3B, NPS_E4BY_INDEX0, NPS_E4BY_INDEX1, NPS_E4BY_INDEX2, NPS_E4BY_INDEX3 }, { 0 }},
472472
473473 /* addf<.f> a,b,c 00111bbb00100011FBBBCCCCCCAAAAAA */
474-{ "addf", 0x38230000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, RC }, { C_F }},
474+{ "addf", 0x38230000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, RC }, { C_F }},
475475
476476 /* addf<.f> a,limm,c 0011111000100011F111CCCCCCAAAAAA */
477-{ "addf", 0x3e237000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, RC }, { C_F }},
477+{ "addf", 0x3e237000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, RC }, { C_F }},
478478
479479 /* addf<.f> a,b,u6 00111bbb01100011FBBBuuuuuuAAAAAA */
480-{ "addf", 0x38630000, 0xf8ff0000, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, UIMM6_20 }, { C_F }},
480+{ "addf", 0x38630000, 0xf8ff0000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, UIMM6_20 }, { C_F }},
481481
482482 /* addf<.f> 0,b,c 00111bbb00100011FBBBCCCCCC111110 */
483-{ "addf", 0x3823003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, RC }, { C_F }},
483+{ "addf", 0x3823003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, RC }, { C_F }},
484484
485485 /* addf<.f> 0,limm,c 0011111000100011F111CCCCCC111110 */
486-{ "addf", 0x3e23703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, RC }, { C_F }},
486+{ "addf", 0x3e23703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, RC }, { C_F }},
487487
488488 /* addf<.f> 0,b,u6 00111bbb01100011FBBBuuuuuu111110 */
489-{ "addf", 0x3863003e, 0xf8ff003f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, UIMM6_20 }, { C_F }},
489+{ "addf", 0x3863003e, 0xf8ff003f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, UIMM6_20 }, { C_F }},
490490
491491 /* addf<.f> 0,b,limm 00111bbb00100011FBBB111110111110 */
492-{ "addf", 0x38230fbe, 0xf8ff0fff, ARC_OPCODE_NPS400, DPI, NONE, { ZA, RB, LIMM }, { C_F }},
492+{ "addf", 0x38230fbe, 0xf8ff0fff, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, RB, LIMM }, { C_F }},
493493
494494 /* addf<.f> a,b,limm 00111bbb00100011FBBB111110AAAAAA */
495-{ "addf", 0x38230f80, 0xf8ff0fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, RB, LIMM }, { C_F }},
495+{ "addf", 0x38230f80, 0xf8ff0fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, RB, LIMM }, { C_F }},
496496
497497 /* addf<.f> a,limm,limm 0011111000100011F111111110AAAAAA */
498-{ "addf", 0x3e237f80, 0xffff7fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, LIMMdup }, { C_F }},
498+{ "addf", 0x3e237f80, 0xffff7fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, LIMMdup }, { C_F }},
499499
500500 /* addf<.f> a,limm,u6 0011111001100011F111uuuuuuAAAAAA */
501-{ "addf", 0x3e637000, 0xffff7000, ARC_OPCODE_NPS400, DPI, NONE, { RA, LIMM, UIMM6_20 }, { C_F }},
501+{ "addf", 0x3e637000, 0xffff7000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, LIMM, UIMM6_20 }, { C_F }},
502502
503503 /* addf<.f> 0,limm,u6 0011111001100011F111uuuuuu111110 */
504-{ "addf", 0x3e63703e, 0xffff703f, ARC_OPCODE_NPS400, DPI, NONE, { ZA, LIMM, UIMM6_20 }, { C_F }},
504+{ "addf", 0x3e63703e, 0xffff703f, ARC_OPCODE_ARC700, DPI, NPS400, { ZA, LIMM, UIMM6_20 }, { C_F }},
505505
506506 /* ldbit<.x2|.x4>.di<.cl> a,[b] 00010bbb00000000SBBB10011XAAAAAA */
507-{ "ldbit", 0x10000980, 0xf8ff8980, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, RB, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
507+{ "ldbit", 0x10000980, 0xf8ff8980, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, RB, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
508508
509509 /* ldbit<.x2|.x4>.di<.cl> a,[b,s9] 00010bbbssssssssSBBB10011XAAAAAA */
510-{ "ldbit", 0x10000980, 0xf8000980, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, RB, SIMM9_8, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
510+{ "ldbit", 0x10000980, 0xf8000980, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, RB, SIMM9_8, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
511511
512512 /* ldbit<.x2|.x4>.di<.cl> a,[limm] 0001011000000000011110011XAAAAAA */
513-{ "ldbit", 0x16007980, 0xfffff980, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, LIMM, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
513+{ "ldbit", 0x16007980, 0xfffff980, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, LIMM, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
514514
515515 /* ldbit<.x2|.x4>.di<.cl> a,[limm,s9] 00010110ssssssssS11110011XAAAAAA */
516-{ "ldbit", 0x16007980, 0xff007980, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, LIMM, SIMM9_8, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
516+{ "ldbit", 0x16007980, 0xff007980, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, LIMM, SIMM9_8, BRAKETdup }, { C_NPS_LDBIT_X_1, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL1 }},
517517
518518 /* ldbit<.x2|.x4>.di<.cl> a,[b,c] 00100bbb0011011X1BBBCCCCCCAAAAAA */
519-{ "ldbit", 0x20368000, 0xf83e8000, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, RB, RC, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
519+{ "ldbit", 0x20368000, 0xf83e8000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, RB, RC, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
520520
521521 /* ldbit<.x2|.x4>.di<.cl> a,[b,limm] 00100bbb0011011X1BBB111110AAAAAA */
522-{ "ldbit", 0x20368f80, 0xf83e8fc0, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, RB, LIMM, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
522+{ "ldbit", 0x20368f80, 0xf83e8fc0, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, RB, LIMM, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
523523
524524 /* ldbit<.x2|.x4>.di<.cl> a,[limm,c] 001001100011011X1111CCCCCCAAAAAA */
525-{ "ldbit", 0x2636f000, 0xff3ef000, ARC_OPCODE_NPS400, DPI, NONE, { RA, BRAKET, LIMM, RC, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
525+{ "ldbit", 0x2636f000, 0xff3ef000, ARC_OPCODE_ARC700, DPI, NPS400, { RA, BRAKET, LIMM, RC, BRAKETdup }, { C_NPS_LDBIT_X_2, C_NPS_LDBIT_DI, C_NPS_LDBIT_CL2 }},
526526
527527 /**** Pipeline Control Instructions ****/
528528
529529 /* schd<.rw|.rd> */
530-{ "schd", 0x3e6f7004, 0xffffff7f, ARC_OPCODE_NPS400, CONTROL, NONE, { 0 }, { C_NPS_SCHD_RW }},
530+{ "schd", 0x3e6f7004, 0xffffff7f, ARC_OPCODE_ARC700, CONTROL, NPS400, { 0 }, { C_NPS_SCHD_RW }},
531531
532532 /* schd.wft.<.ie1|.ie2|.ie12> */
533-{ "schd", 0x3e6f7044, 0xfffffcff, ARC_OPCODE_NPS400, CONTROL, NONE, { 0 }, { C_NPS_SCHD_TRIG, C_NPS_SCHD_IE }},
533+{ "schd", 0x3e6f7044, 0xfffffcff, ARC_OPCODE_ARC700, CONTROL, NPS400, { 0 }, { C_NPS_SCHD_TRIG, C_NPS_SCHD_IE }},
534534
535535 /* sync<.rd|.wr> */
536-{ "sync", 0x3e6f703f, 0xffffffbf, ARC_OPCODE_NPS400, CONTROL, NONE, { 0 }, { C_NPS_SYNC }},
536+{ "sync", 0x3e6f703f, 0xffffffbf, ARC_OPCODE_ARC700, CONTROL, NPS400, { 0 }, { C_NPS_SYNC }},
537537
538538 /* hwscd.off B */
539-{ "hwschd", 0x386f00bf, 0xf8ff8fff, ARC_OPCODE_NPS400, CONTROL, NONE, { RB }, { C_NPS_HWS_OFF }},
539+{ "hwschd", 0x386f00bf, 0xf8ff8fff, ARC_OPCODE_ARC700, CONTROL, NPS400, { RB }, { C_NPS_HWS_OFF }},
540540
541541 /* hwscd.restore 0,C */
542-{ "hwschd", 0x3e6f7003, 0xfffff03f, ARC_OPCODE_NPS400, CONTROL, NONE, { ZA, RC }, { C_NPS_HWS_RESTORE }},
542+{ "hwschd", 0x3e6f7003, 0xfffff03f, ARC_OPCODE_ARC700, CONTROL, NPS400, { ZA, RC }, { C_NPS_HWS_RESTORE }},
543543
544544 /**** Load / Store From (0x57f00000 + Offset) Instructions ****/
545545
546546 #define XLDST_LIKE(NAME,SUBOP2) \
547- { NAME, (0x58000000 | (SUBOP2 << 16)), 0xf81f0000, ARC_OPCODE_NPS400, MEMORY, NONE, { NPS_R_DST, BRAKET, NPS_XLDST_UIMM16, BRAKETdup }, { 0 }},
547+ { NAME, (0x58000000 | (SUBOP2 << 16)), 0xf81f0000, ARC_OPCODE_ARC700, MEMORY, NPS400, { NPS_R_DST, BRAKET, NPS_XLDST_UIMM16, BRAKETdup }, { 0 }},
548548
549549 XLDST_LIKE("xldb", 0x8)
550550 XLDST_LIKE("xldw", 0x9)
--- a/opcodes/arc-opc.c
+++ b/opcodes/arc-opc.c
@@ -2486,59 +2486,59 @@ const unsigned arc_num_relax_opcodes = ARRAY_SIZE (arc_relax_opcodes);
24862486 const struct arc_long_opcode arc_long_opcodes[] =
24872487 {
24882488 /* mrgb - (48 bit instruction). */
2489- { { "mrgb", 0x5803, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
2489+ { { "mrgb", 0x5803, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
24902490 0x00000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_SRC_POS1, NPS_BITOP_SIZE1, NPS_BITOP_DST_POS2, NPS_BITOP_SRC_POS2, NPS_BITOP_SIZE2 }},
24912491
24922492 /* mrgb.cl - (48 bit instruction). */
2493- { { "mrgb", 0x5803, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
2493+ { { "mrgb", 0x5803, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
24942494 0x80000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_SRC_POS1, NPS_BITOP_SIZE1, NPS_BITOP_DST_POS2, NPS_BITOP_SRC_POS2, NPS_BITOP_SIZE2 }},
24952495
24962496 /* mov2b - (48 bit instruction). */
2497- { { "mov2b", 0x5800, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
2497+ { { "mov2b", 0x5800, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
24982498 0x00000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2 }},
24992499
25002500 /* mov2b.cl - (48 bit instruction). */
2501- { { "mov2b", 0x5800, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
2501+ { { "mov2b", 0x5800, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
25022502 0x80000000, 0x80000000, { IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2 }},
25032503
25042504 /* ext4 - (48 bit instruction). */
2505- { { "ext4b", 0x5801, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
2505+ { { "ext4b", 0x5801, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
25062506 0x00000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_INS_EXT, NPS_BITOP_SRC_POS1, NPS_BITOP_SRC_POS2, NPS_BITOP_DST_POS1, NPS_BITOP_DST_POS2 }},
25072507
25082508 /* ext4.cl - (48 bit instruction). */
2509- { { "ext4b", 0x5801, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
2509+ { { "ext4b", 0x5801, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
25102510 0x80000000, 0x80000000, { IGNORED, IGNORED, NPS_BITOP_INS_EXT, NPS_BITOP_SRC_POS1, NPS_BITOP_SRC_POS2, NPS_BITOP_DST_POS1, NPS_BITOP_DST_POS2 }},
25112511
25122512 /* ins4 - (48 bit instruction). */
2513- { { "ins4b", 0x5802, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
2513+ { { "ins4b", 0x5802, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC1_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { 0 }},
25142514 0x00000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_SRC_POS1, NPS_BITOP_SRC_POS2, NPS_BITOP_DST_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_INS_EXT }},
25152515
25162516 /* ins4.cl - (48 bit instruction). */
2517- { { "ins4b", 0x5802, 0xf81f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
2517+ { { "ins4b", 0x5802, 0xf81f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B_SHORT, NPS_R_SRC2_3B_SHORT, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
25182518 0x80000000, 0x80000000, { IGNORED, IGNORED, NPS_BITOP_SRC_POS1, NPS_BITOP_SRC_POS2, NPS_BITOP_DST_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_INS_EXT }},
25192519
25202520 /* mov3b - (64 bit instruction). */
2521- { { "mov3b", 0x58100000, 0xf81f801f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { 0 }},
2521+ { { "mov3b", 0x58100000, 0xf81f801f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { 0 }},
25222522 0x80000000, 0x80000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3 }},
25232523
25242524 /* mov4b - (64 bit instruction). */
2525- { { "mov4b", 0x58100000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { 0 }},
2525+ { { "mov4b", 0x58100000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC1_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { 0 }},
25262526 0x00000000, 0x00000000, { IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3, IGNORED, NPS_BITOP_MOD4_MSB, IGNORED}},
25272527
25282528 /* mov3bcl - (64 bit instruction). */
2529- { { "mov3bcl", 0x58110000, 0xf81f801f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { 0 }},
2529+ { { "mov3bcl", 0x58110000, 0xf81f801f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { 0 }},
25302530 0x80000000, 0x80000000, { IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3 }},
25312531
25322532 /* mov4bcl - (64 bit instruction). */
2533- { { "mov4bcl", 0x58110000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { 0 }},
2533+ { { "mov4bcl", 0x58110000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { 0 }},
25342534 0x00000000, 0x00000000, { IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3, IGNORED, NPS_BITOP_MOD4_MSB, IGNORED}},
25352535
25362536 /* mov3b.cl - (64 bit instruction). */
2537- { { "mov3b", 0x58110000, 0xf81f801f, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
2537+ { { "mov3b", 0x58110000, 0xf81f801f, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3_POS4, IGNORED, IGNORED, LIMM }, { C_NPS_CL }},
25382538 0x80000000, 0x80000000, { IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3 }},
25392539
25402540 /* mov4b.cl - (64 bit instruction). */
2541- { { "mov4b", 0x58110000, 0xf81f0000, ARC_OPCODE_NPS400, BITOP, NONE, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { C_NPS_CL }},
2541+ { { "mov4b", 0x58110000, 0xf81f0000, ARC_OPCODE_ARC700, BITOP, NPS400, { NPS_R_DST_3B, NPS_R_SRC2_3B, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, IGNORED, NPS_BITOP_DST_POS3, IGNORED, IGNORED, NPS_BITOP_DST_POS4, NPS_BITOP_MOD4_LSB, NPS_BITOP_SRC_POS4, LIMM }, { C_NPS_CL }},
25422542 0x00000000, 0x00000000, { IGNORED, IGNORED, NPS_BITOP_DST_POS1, NPS_BITOP_MOD1, NPS_BITOP_SRC_POS1, NPS_BITOP_DST_POS2, NPS_BITOP_MOD2, NPS_BITOP_SRC_POS2, IGNORED, NPS_BITOP_MOD3, NPS_BITOP_SRC_POS3, IGNORED, NPS_BITOP_MOD4_MSB, IGNORED}},
25432543 };
25442544