xref: /netbsd-src/external/gpl3/binutils/dist/opcodes/ChangeLog (revision dd7241df2fae9da4ea2bd20a68f001fa86ecf909)
1*dd7241dfSchristos2024-01-15  Nick Clifton  <nickc@redhat.com>
26f226886Schristos
303f5171aSchristos	* configure: Regenerate.
4*dd7241dfSchristos	* po/opcodes.pot: Regenerate.
5*dd7241dfSchristos
6*dd7241dfSchristos2024-01-15  Nick Clifton  <nickc@redhat.com>
7*dd7241dfSchristos
8*dd7241dfSchristos	* 2.42 branch point.
9*dd7241dfSchristos
10*dd7241dfSchristos2023-11-15  Arsen Arsenović  <arsen@aarsen.me>
11*dd7241dfSchristos
12*dd7241dfSchristos	* aclocal.m4: Regenerate.
13*dd7241dfSchristos	* po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
14*dd7241dfSchristos	temporary file to suppress xgettext checking charset names.
15*dd7241dfSchristos	* configure.ac (SHARED_LIBADD): Use LTLIBINTL rather than
16*dd7241dfSchristos	LIBINTL.
17*dd7241dfSchristos	* configure: Regenerate.
18*dd7241dfSchristos	* po/Make-in ($(srcdir)/$(PACKAGE).pot): Output to a .pot
19*dd7241dfSchristos	temporary file, to suppress xgettext checking charset names.
20*dd7241dfSchristos
21*dd7241dfSchristos2023-10-05  Neal frager  <neal.frager@amd.com>
22*dd7241dfSchristos
23*dd7241dfSchristos	* microblaze-opcm.h (struct op_code_struct): Tidy and remove
24*dd7241dfSchristos	redundant entries.
25*dd7241dfSchristos	* microblaze-opc.h (MAX_OPCODES): Increase to 300.
26*dd7241dfSchristos	(op_code_struct): Add address extension instructions.
27*dd7241dfSchristos
28*dd7241dfSchristos2023-10-04  Neal frager  <neal.frager@amd.com>
29*dd7241dfSchristos
30*dd7241dfSchristos	* microblaze-opc.h (struct op_code_struct): Add hiberante
31*dd7241dfSchristos	and suspend entries.
32*dd7241dfSchristos	* microblaze-opcm.h (enum microblaze_instr): Add microblaze_sleep,
33*dd7241dfSchristos	hibernate, suspend entries.
34*dd7241dfSchristos
35*dd7241dfSchristos2023-08-24  Tom Tromey  <tom@tromey.com>
36*dd7241dfSchristos
37*dd7241dfSchristos	* cgen.sh: Don't pass "-s" to cgen.
38*dd7241dfSchristos	* Makefile.in: Rebuild.
39*dd7241dfSchristos	* Makefile.am (GUILE): Simplify.
40*dd7241dfSchristos
41*dd7241dfSchristos2023-07-31  Jose E. Marchesi  <jose.marchesi@oracle.com>
42*dd7241dfSchristos
43*dd7241dfSchristos	PR 30705
44*dd7241dfSchristos	* bpf-dis.c (print_insn_bpf): Check that info->section->owner is
45*dd7241dfSchristos	actually available before using it.
46*dd7241dfSchristos
47*dd7241dfSchristos2023-07-30  Jose E. Marchesi  <jose.marchesi@oracle.com>
48*dd7241dfSchristos
49*dd7241dfSchristos	* bpf-dis.c: Initialize asm_bpf_version to -1.
50*dd7241dfSchristos	(print_insn_bpf): Set BPF ISA version from the cpu version ELF
51*dd7241dfSchristos	header flags if no explicit version set in the command line.
52*dd7241dfSchristos	* disassemble.c (disassemble_init_for_target): Remove unused code.
53*dd7241dfSchristos
54*dd7241dfSchristos2023-07-26  Jose E. Marchesi  <jose.marchesi@oracle.com>
55*dd7241dfSchristos
56*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Fix BPF_INSN_NEGR to not use a src
57*dd7241dfSchristos	register.
58*dd7241dfSchristos
59*dd7241dfSchristos2023-07-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
60*dd7241dfSchristos
61*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Add entries for the BSWAP*
62*dd7241dfSchristos	instructions.
63*dd7241dfSchristos
64*dd7241dfSchristos2023-07-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
65*dd7241dfSchristos
66*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Fix pseudo-c syntax for MOVS* and LDXS*
67*dd7241dfSchristos	instructions.
68*dd7241dfSchristos
69*dd7241dfSchristos2023-07-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
70*dd7241dfSchristos
71*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Add entry for jal.
72*dd7241dfSchristos
73*dd7241dfSchristos2023-07-21  Jose E. Marchesi  <jose.marchesi@oracle.com>
74*dd7241dfSchristos
75*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Add entries for LDXS{B,W,H,DW}
76*dd7241dfSchristos	instructions.
77*dd7241dfSchristos
78*dd7241dfSchristos2023-07-21  Jose E. Marchesi  <jose.marchesi@oracle.com>
79*dd7241dfSchristos
80*dd7241dfSchristos	* bpf-opc.c (bpf_opcodes): Add entries for MOVS{8,16,32}R and
81*dd7241dfSchristos	MOVS32{8,16,32}R instructions.  and MOVS32I instructions.
82*dd7241dfSchristos
83*dd7241dfSchristos2023-07-21  Jose E. Marchesi  <jose.marchesi@oracle.com>
84*dd7241dfSchristos
85*dd7241dfSchristos	* Makefile.am (TARGET64_LIBOPCODES_CFILES): Add missing bpf-dis.c
86*dd7241dfSchristos	* Makefile.in: Regenerate.
87*dd7241dfSchristos
88*dd7241dfSchristos2023-07-03  Nick Clifton  <nickc@redhat.com>
89*dd7241dfSchristos
90*dd7241dfSchristos	* configure: Regenerate.
91*dd7241dfSchristos	* po/opcodes.pot: Regenerate.
92*dd7241dfSchristos
93*dd7241dfSchristos2023-07-03  Nick Clifton  <nickc@redhat.com>
94*dd7241dfSchristos
95*dd7241dfSchristos	2.41 Branch Point.
96*dd7241dfSchristos
97*dd7241dfSchristos2023-05-23  Nick Clifton  <nickc@redhat.com>
98*dd7241dfSchristos
99*dd7241dfSchristos	* po/sv.po: Updated translation.
100*dd7241dfSchristos
101*dd7241dfSchristos2023-04-21  Tom Tromey  <tromey@adacore.com>
102*dd7241dfSchristos
103*dd7241dfSchristos	* i386-dis.c (OP_J): Check result of get16.
104*dd7241dfSchristos
105*dd7241dfSchristos2023-04-12  Claudiu Zissulescu  <claziss@synopsys.com>
106*dd7241dfSchristos
107*dd7241dfSchristos	* arc-tbl.h: Remove vadds2, vadds2h, vadds4h, vaddsubs,
108*dd7241dfSchristos	vaddsubs2h, vaddsubs4h, vsubadds, vsubadds2h, vsubadds4h, vsubs2,
109*dd7241dfSchristos	vsubs2h, and vsubs4h instructions.
110*dd7241dfSchristos
111*dd7241dfSchristos2023-04-11  Nick Clifton  <nickc@redhat.com>
112*dd7241dfSchristos
113*dd7241dfSchristos	PR 30310
114*dd7241dfSchristos	* nfp-dis.c (init_nfp6000_priv): Check that the output section
115*dd7241dfSchristos	exists.
116*dd7241dfSchristos
117*dd7241dfSchristos2023-03-15  Nick Clifton  <nickc@redhat.com>
118*dd7241dfSchristos
119*dd7241dfSchristos	PR 30231
120*dd7241dfSchristos	* mep-dis.c: Regenerate.
121*dd7241dfSchristos
122*dd7241dfSchristos2023-03-15  Nick Clifton  <nickc@redhat.com>
123*dd7241dfSchristos
124*dd7241dfSchristos	PR 30230
125*dd7241dfSchristos	* arm-dis.c (get_sym_code_type): Check for non-ELF symbols.
126*dd7241dfSchristos
127*dd7241dfSchristos2023-02-28  Richard Ball  <richard.ball@arm.com>
128*dd7241dfSchristos
129*dd7241dfSchristos	* aarch64-opc.c: Add MEC system registers.
130*dd7241dfSchristos
131*dd7241dfSchristos2023-01-03  Nick Clifton  <nickc@redhat.com>
132*dd7241dfSchristos
133*dd7241dfSchristos	* po/de.po: Updated German translation.
134*dd7241dfSchristos	* po/ro.po: Updated Romainian translation.
135*dd7241dfSchristos	* po/uk.po: Updated Ukrainian translation.
136*dd7241dfSchristos
137*dd7241dfSchristos2022-12-31  Nick Clifton  <nickc@redhat.com>
138*dd7241dfSchristos
139*dd7241dfSchristos	* 2.40 branch created.
140*dd7241dfSchristos
141*dd7241dfSchristos2022-11-22  Shahab Vahedi  <shahab@synopsys.com>
142*dd7241dfSchristos
143*dd7241dfSchristos	* arc-regs.h: Change isa_config address to 0xc1.
144*dd7241dfSchristos	isa_config exists for ARC700 and ARCV2 and not ARCALL.
145*dd7241dfSchristos
146*dd7241dfSchristos2022-10-31  Yoshinori Sato  <ysato@users.sourceforge.jp>
147*dd7241dfSchristos
148*dd7241dfSchristos	* rx-decode.opc: Switch arguments of the MVTACGU insn.
149*dd7241dfSchristos	* rx-decode.c: Regenerate.
150*dd7241dfSchristos
151*dd7241dfSchristos2022-09-22  Yoshinori Sato  <ysato@users.sourceforge.jp>
152*dd7241dfSchristos
153*dd7241dfSchristos	* sh-dis.c (print_insn_sh): Enforce bit7 of LDC Rm,Rn_BANK and STC
154*dd7241dfSchristos	Rm_BANK,Rn is always 1.
1557c6f6726Schristos
15603f5171aSchristos2022-07-21  Peter Bergner  <bergner@linux.ibm.com>
1576f226886Schristos
15803f5171aSchristos	* ppc-opc.c (XACC_MASK, XX3ACC_MASK): New defines.
15903f5171aSchristos	(P_GER_MASK, xxmfacc, xxmtacc, xxsetaccz, xvi8ger4pp, xvi8ger4,
16003f5171aSchristos	xvf16ger2pp, xvf16ger2, xvf32gerpp, xvf32ger, xvi4ger8pp, xvi4ger8,
16103f5171aSchristos	xvi16ger2spp, xvi16ger2s, xvbf16ger2pp, xvbf16ger2, xvf64gerpp,
16203f5171aSchristos	xvf64ger, xvi16ger2, xvf16ger2np, xvf32gernp, xvi8ger4spp, xvi16ger2pp,
16303f5171aSchristos	xvbf16ger2np, xvf64gernp, xvf16ger2pn, xvf32gerpn, xvbf16ger2pn,
16403f5171aSchristos	xvf64gerpn, xvf16ger2nn, xvf32gernn, xvbf16ger2nn, xvf64gernn: Use them.
1656f226886Schristos
166*dd7241dfSchristos2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
167*dd7241dfSchristos
168*dd7241dfSchristos	* disassemble.c (disassemble_init_for_target): Set
169*dd7241dfSchristos	created_styled_output for ARC based targets.
170*dd7241dfSchristos	* arc-dis.c (find_format_from_table): Use fprintf_styled_ftype
171*dd7241dfSchristos	instead of fprintf_ftype throughout.
172*dd7241dfSchristos	(find_format): Likewise.
173*dd7241dfSchristos	(print_flags): Likewise.
174*dd7241dfSchristos	(print_insn_arc): Likewise.
175*dd7241dfSchristos
17603f5171aSchristos2022-07-08  Nick Clifton  <nickc@redhat.com>
1777c6f6726Schristos
17803f5171aSchristos	* 2.39 branch created.
1797c6f6726Schristos
18003f5171aSchristos2022-07-04  Marcus Nilsson  <brainbomb@gmail.com>
181106c59e5Schristos
18203f5171aSchristos	* disassemble.c: (disassemble_init_for_target): Set
18303f5171aSchristos	created_styled_output for AVR based targets.
18403f5171aSchristos	* avr-dis.c: (print_insn_avr): Use fprintf_styled_ftype
18503f5171aSchristos	instead of fprintf_ftype throughout.
18603f5171aSchristos	(avr_operand): Pass in and fill disassembler_style when
18703f5171aSchristos	parsing operands.
188106c59e5Schristos
18903f5171aSchristos2022-04-07  Andreas Krebbel  <krebbel@linux.ibm.com>
19003f5171aSchristos
19103f5171aSchristos	* s390-mkopc.c (main): Enable z16 as CPU string in the opcode
19203f5171aSchristos	table.
19303f5171aSchristos
19403f5171aSchristos2022-03-16  Simon Marchi  <simon.marchi@efficios.com>
19503f5171aSchristos
19603f5171aSchristos	* configure.ac: Handle bfd_amdgcn_arch.
19703f5171aSchristos	* configure: Re-generate.
19803f5171aSchristos
19903f5171aSchristos2022-03-06  Sagar Patel  <sagarmp@cs.unc.edu>
20003f5171aSchristos	    Maciej W. Rozycki  <macro@orcam.me.uk>
20103f5171aSchristos
20203f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Fix INSN2_ALIAS annotation
20303f5171aSchristos	for "bal", "beqz", "beqzl", "bnez" and "bnezl" instructions.
20403f5171aSchristos	* micromips-opc.c (micromips_opcodes): Likewise for "beqz" and
20503f5171aSchristos	"bnez" instructions.
20603f5171aSchristos
20703f5171aSchristos2022-02-17  Nick Clifton  <nickc@redhat.com>
20803f5171aSchristos
20903f5171aSchristos	* po/sr.po: Updated Serbian translation.
21003f5171aSchristos
21103f5171aSchristos2022-02-14  Sergei Trofimovich  <siarheit@google.com>
21203f5171aSchristos
21303f5171aSchristos	* microblaze-opcm.h: Renamed 'fsqrt' to 'microblaze_fsqrt'.
21403f5171aSchristos	* microblaze-opc.h: Follow 'fsqrt' rename.
21503f5171aSchristos
21603f5171aSchristos2022-01-24  Nick Clifton  <nickc@redhat.com>
21703f5171aSchristos
21803f5171aSchristos	* po/ro.po: Updated Romanian translation.
219106c59e5Schristos	* po/uk.po: Updated Ukranian translation.
2207c6f6726Schristos
22103f5171aSchristos2022-01-22  Nick Clifton  <nickc@redhat.com>
2224a4d5be6Schristos
2234a4d5be6Schristos	* configure: Regenerate.
2247c6f6726Schristos	* po/opcodes.pot: Regenerate.
2257c6f6726Schristos
22603f5171aSchristos2022-01-22  Nick Clifton  <nickc@redhat.com>
2277c6f6726Schristos
22803f5171aSchristos	* 2.38 release branch created.
2297c6f6726Schristos
23003f5171aSchristos2022-01-17  Nick Clifton  <nickc@redhat.com>
2317c6f6726Schristos
23203f5171aSchristos	* Makefile.in: Regenerate.
23303f5171aSchristos	* po/opcodes.pot: Regenerate.
2347c6f6726Schristos
23503f5171aSchristos2021-12-02  Marcus Nilsson  <brainbomb@gmail.com>
2367c6f6726Schristos
23703f5171aSchristos	* avr-dis.c (avr_operand); Pass in disassemble_info and fill
23803f5171aSchristos	in insn_type on branching instructions.
2397c6f6726Schristos
24003f5171aSchristos2021-11-25  Andrew Burgess  <aburgess@redhat.com>
24103f5171aSchristos	    Simon Cook  <simon.cook@embecosm.com>
2427c6f6726Schristos
24303f5171aSchristos	* riscv-dis.c (enum riscv_option_arg_t): New enum typedef.
24403f5171aSchristos	(riscv_options): New static global.
24503f5171aSchristos	(disassembler_options_riscv): New function.
24603f5171aSchristos	(print_riscv_disassembler_options): Rewrite to use
24703f5171aSchristos	disassembler_options_riscv.
2487c6f6726Schristos
24903f5171aSchristos2021-11-25  Nick Clifton  <nickc@redhat.com>
2507c6f6726Schristos
25103f5171aSchristos	PR 28614
25203f5171aSchristos	* aarch64-asm.c: Replace assert(0) with real code.
25303f5171aSchristos	* aarch64-dis.c: Likewise.
25403f5171aSchristos	* aarch64-opc.c: Likewise.
2557c6f6726Schristos
25603f5171aSchristos2021-11-25  Nick Clifton  <nickc@redhat.com>
2577c6f6726Schristos
25803f5171aSchristos	* po/fr.po; Updated French translation.
25903f5171aSchristos
26003f5171aSchristos2021-10-27  Maciej W. Rozycki  <macro@embecosm.com>
26103f5171aSchristos
26203f5171aSchristos	* Makefile.am: Remove obsolete comment.
26303f5171aSchristos	* configure.ac: Refer `libbfd.la' to link shared BFD library
26403f5171aSchristos	except for Cygwin.
26503f5171aSchristos	* Makefile.in: Regenerate.
26603f5171aSchristos	* configure: Regenerate.
26703f5171aSchristos
26803f5171aSchristos2021-09-27  Nick Alcock  <nick.alcock@oracle.com>
26903f5171aSchristos
27003f5171aSchristos	* configure: Regenerate.
27103f5171aSchristos
27203f5171aSchristos2021-09-25  Peter Bergner  <bergner@linux.ibm.com>
27303f5171aSchristos
27403f5171aSchristos	* ppc-opc.c (powerpc_opcodes) <mfppr, mfppr32, mtppr, mtppr32>: Enable
27503f5171aSchristos	on POWER5 and later.
27603f5171aSchristos
27703f5171aSchristos2021-09-20  Andrew Burgess  <andrew.burgess@embecosm.com>
27803f5171aSchristos
27903f5171aSchristos	* riscv-dis.c (riscv_disassemble_insn): Print a .%dbyte opcode
28003f5171aSchristos	before an unknown instruction, '%d' is replaced with the
28103f5171aSchristos	instruction length.
28203f5171aSchristos
28303f5171aSchristos2021-09-02  Nick Clifton  <nickc@redhat.com>
28403f5171aSchristos
28503f5171aSchristos	PR 28292
28603f5171aSchristos	* v850-opc.c (D16): Use BFD_RELOC_V850_LO16_SPLIT_OFFSET in place
28703f5171aSchristos	of BFD_RELOC_16.
28803f5171aSchristos
28903f5171aSchristos2021-08-17  Shahab Vahedi <shahab@synopsys.com>
29003f5171aSchristos
29103f5171aSchristos	* arc-regs.h (DEF): Fix the register numbers.
29203f5171aSchristos
29303f5171aSchristos2021-08-10  Nick Clifton  <nickc@redhat.com>
29403f5171aSchristos
29503f5171aSchristos	* po/sr.po: Updated Serbian translation.
29603f5171aSchristos
29703f5171aSchristos2021-07-26  Chenghua Xu  <xuchenghua@loongson.cn>
29803f5171aSchristos
29903f5171aSchristos	* mips-dis.c (mips_arch_choices): Correct gs264e bfd_mach.
30003f5171aSchristos
30103f5171aSchristos2021-06-07  Andreas Krebbel  <krebbel@linux.ibm.com>
30203f5171aSchristos
30303f5171aSchristos	* s390-opc.txt: Add qpaci.
30403f5171aSchristos
30503f5171aSchristos2021-07-03  Nick Clifton  <nickc@redhat.com>
30603f5171aSchristos
30703f5171aSchristos	* configure: Regenerate.
30803f5171aSchristos	* po/opcodes.pot: Regenerate.
30903f5171aSchristos
31003f5171aSchristos2021-07-03  Nick Clifton  <nickc@redhat.com>
31103f5171aSchristos
31203f5171aSchristos	* 2.37 release branch created.
31303f5171aSchristos
31403f5171aSchristos2021-07-02  Alan Modra  <amodra@gmail.com>
31503f5171aSchristos
31603f5171aSchristos	* nds32-dis.c (nds32_find_reg_keyword): Constify arg and return.
31703f5171aSchristos	(nds32_parse_audio_ext, nds32_parse_opcode): Constify psys_reg.
31803f5171aSchristos	(nds32_field_table, nds32_opcode_table, nds32_keyword_table),
31903f5171aSchristos	(nds32_opcodes, nds32_operand_fields, nds32_keywords),
32003f5171aSchristos	(nds32_keyword_gpr): Move declarations to..
32103f5171aSchristos	* nds32-asm.h: ..here, constifying to match definitions.
32203f5171aSchristos
32303f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
32403f5171aSchristos
32503f5171aSchristos	* Makefile.am (GUILE): New variable.
32603f5171aSchristos	(CGEN): Use $(GUILE).
32703f5171aSchristos	* Makefile.in: Regenerate.
32803f5171aSchristos
32903f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
33003f5171aSchristos
33103f5171aSchristos	* mep-asm.c (macros): Mark static & const.
33203f5171aSchristos	(lookup_macro): Change return & m to const.
33303f5171aSchristos	(expand_macro): Change mac to const.
33403f5171aSchristos	(expand_string): Change pmacro to const.
33503f5171aSchristos
33603f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
33703f5171aSchristos
33803f5171aSchristos	* nds32-asm.c (operand_fields): Rename to ...
33903f5171aSchristos	(nds32_operand_fields): ... this.
34003f5171aSchristos	(keyword_gpr): Rename to ...
34103f5171aSchristos	(nds32_keyword_gpr): ... this.
34203f5171aSchristos	(keyword_usr, keyword_dxr, keyword_sr, keyword_cp, keyword_cpr,
34303f5171aSchristos	keyword_fsr, keyword_fdr, keyword_abdim, keyword_abm,
34403f5171aSchristos	keyword_dpref_st, keyword_cctl_lv, keyword_standby_st,
34503f5171aSchristos	keyword_msync_st, keyword_im5_i, keyword_im5_m, keyword_accumulator,
34603f5171aSchristos	keyword_aridx, keyword_aridx2, keyword_aridxi, keyword_aridxi_mx):
34703f5171aSchristos	Mark static.
34803f5171aSchristos	(keywords): Rename to ...
34903f5171aSchristos	(nds32_keywords): ... this.
35003f5171aSchristos	* nds32-dis.c: Rename operand_fields to nds32_operand_fields,
35103f5171aSchristos	keywords to nds32_keywords, and keyword_gpr to nds32_keyword_gpr.
35203f5171aSchristos
35303f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
35403f5171aSchristos
35503f5171aSchristos	* z80-dis.c (opc_ed): Make const.
35603f5171aSchristos	(pref_ed): Make p const.
35703f5171aSchristos
35803f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
35903f5171aSchristos
36003f5171aSchristos	* microblaze-dis.c (get_field_special): Make op const.
36103f5171aSchristos	(read_insn_microblaze): Make opr & op const.  Rename opcodes to
36203f5171aSchristos	microblaze_opcodes.
36303f5171aSchristos	(print_insn_microblaze): Make op & pop const.
36403f5171aSchristos	(get_insn_microblaze): Make op const.  Rename opcodes to
36503f5171aSchristos	microblaze_opcodes.
36603f5171aSchristos	(microblaze_get_target_address): Likewise.
36703f5171aSchristos	* microblaze-opc.h (struct op_code_struct): Make const.
36803f5171aSchristos	Rename opcodes to microblaze_opcodes.
36903f5171aSchristos
37003f5171aSchristos2021-07-01  Mike Frysinger  <vapier@gentoo.org>
37103f5171aSchristos
37203f5171aSchristos	* aarch64-gen.c (aarch64_opcode_table): Add const.
37303f5171aSchristos	* aarch64-tbl.h (aarch64_opcode_table): Likewise.
37403f5171aSchristos
37503f5171aSchristos2021-06-22  Andrew Burgess  <andrew.burgess@embecosm.com>
37603f5171aSchristos
37703f5171aSchristos	* cgen-dis.c (count_decodable_bits): Use __builtin_popcount when
37803f5171aSchristos	available.
37903f5171aSchristos
38003f5171aSchristos2021-06-22  Alan Modra  <amodra@gmail.com>
38103f5171aSchristos
38203f5171aSchristos	* pj-dis.c (print_insn_pj): Don't print trailing tab.  Do
38303f5171aSchristos	print separator for pcrel insns.
38403f5171aSchristos
38503f5171aSchristos2021-06-19  Alan Modra  <amodra@gmail.com>
38603f5171aSchristos
38703f5171aSchristos	* vax-dis.c (print_insn_vax): Avoid pointer overflow.
38803f5171aSchristos
38903f5171aSchristos2021-06-19  Alan Modra  <amodra@gmail.com>
39003f5171aSchristos
39103f5171aSchristos	* tic30-dis.c (get_register_operand): Don't ask strncpy to fill
39203f5171aSchristos	entire buffer.
39303f5171aSchristos
39403f5171aSchristos2021-06-17  Alan Modra  <amodra@gmail.com>
39503f5171aSchristos
39603f5171aSchristos	* ppc-opc.c (powerpc_opcodes): Move cell db*cyc to proper location
39703f5171aSchristos	in table.
39803f5171aSchristos
39903f5171aSchristos2021-06-03  Alan Modra  <amodra@gmail.com>
40003f5171aSchristos
40103f5171aSchristos	PR 1202
40203f5171aSchristos	* mcore-dis.c (print_insn_mcore): Correct loopt disassembly.
40303f5171aSchristos	Use unsigned int for inst.
40403f5171aSchristos
40503f5171aSchristos2021-06-02  Shahab Vahedi  <shahab@synopsys.com>
40603f5171aSchristos
40703f5171aSchristos	* arc-dis.c (arc_option_arg_t): New enumeration.
40803f5171aSchristos	(arc_options): New variable.
40903f5171aSchristos	(disassembler_options_arc): New function.
41003f5171aSchristos	(print_arc_disassembler_options): Reimplement in terms of
41103f5171aSchristos	"disassembler_options_arc".
41203f5171aSchristos
41303f5171aSchristos2021-05-29  Alan Modra  <amodra@gmail.com>
41403f5171aSchristos
41503f5171aSchristos	* ppc-dis.c (lookup_powerpc): Test deprecated field when -Many.
41603f5171aSchristos	Don't special case PPC_OPCODE_RAW.
41703f5171aSchristos	(lookup_prefix): Likewise.
41803f5171aSchristos	(lookup_vle, lookup_spe2): Similarly.  Add dialect parameter and..
41903f5171aSchristos	(print_insn_powerpc): ..update caller.
42003f5171aSchristos	* ppc-opc.c (EXT): Define.
42103f5171aSchristos	(powerpc_opcodes): Mark extended mnemonics with EXT.
42203f5171aSchristos	(prefix_opcodes, vle_opcodes): Likewise.
42303f5171aSchristos	(XISEL, XISEL_MASK): Add cr field and simplify.
42403f5171aSchristos	(powerpc_opcodes): Use XISEL with extended isel mnemonics and sort
42503f5171aSchristos	all isel variants to where the base mnemonic belongs.  Sort dstt,
42603f5171aSchristos	dststt and dssall.
42703f5171aSchristos
42803f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
42903f5171aSchristos
43003f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Reorder legacy COP0, COP2,
43103f5171aSchristos	COP3 opcode instructions.
43203f5171aSchristos
43303f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
43403f5171aSchristos
43503f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Update exclusion list for
43603f5171aSchristos	"ldc2", "ldc3", "lwc0", "lwc2", "lwc3", "sdc2", "sdc3", "swc0",
43703f5171aSchristos	"swc2", "swc3", "cfc0", "ctc0", "bc2f", "bc2fl", "bc2t",
43803f5171aSchristos	"bc2tl", "cfc2", "ctc2", "dmfc2", "dmtc2", "mfc2", "mtc2",
43903f5171aSchristos	"bc3f", "bc3fl", "bc3t", "bc3tl", "cfc3", "ctc3", "mfc3",
44003f5171aSchristos	"mtc3", "bc0f", "bc0fl", "bc0t", "bc0tl", "rfe", "c2", "c3",
44103f5171aSchristos	"cop2", and "cop3" entries.
44203f5171aSchristos
44303f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
44403f5171aSchristos
44503f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Remove "dmfc3" and "dmtc3"
44603f5171aSchristos	entries and associated comments.
44703f5171aSchristos
44803f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
44903f5171aSchristos
45003f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Move the "rfe" entry ahead
45103f5171aSchristos	of "c0".
45203f5171aSchristos
45303f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
45403f5171aSchristos
45503f5171aSchristos	* mips-dis.c (mips_cp1_names_mips): New variable.
45603f5171aSchristos	(mips_arch_choices): Use it rather than `mips_cp1_names_numeric'
45703f5171aSchristos	for "r3000", "r4000", "r4010", "vr4100", "vr4111", "vr4120",
45803f5171aSchristos	"r4300", "r4400", "r4600", "r4650", "r5000", "vr5400", "vr5500",
45903f5171aSchristos	"r5900", "r6000", "rm7000", "rm9000", "r8000", "r10000",
46003f5171aSchristos	"r12000", "r14000", "r16000", "mips5", "loongson2e", and
46103f5171aSchristos	"loongson2f".
46203f5171aSchristos
46303f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
46403f5171aSchristos
46503f5171aSchristos	* mips-dis.c (print_reg) <OP_REG_COPRO>: Move control register
46603f5171aSchristos	handling code over to...
46703f5171aSchristos	<OP_REG_CONTROL>: ... this new case.
46803f5171aSchristos	* mips-opc.c (decode_mips_operand) <'g', 'y'>: New cases.
46903f5171aSchristos	(mips_builtin_opcodes): Update "cfc1", "ctc1", "cttc1", "cttc2",
47003f5171aSchristos	"cfc0", "ctc0", "cfc2", "ctc2", "cfc3", and "ctc3" entries
47103f5171aSchristos	replacing the `G' operand code with `g'.  Update "cftc1" and
47203f5171aSchristos	"cftc2" entries replacing the `E' operand code with `y'.
47303f5171aSchristos	* micromips-opc.c (decode_micromips_operand) <'g'>: New case.
47403f5171aSchristos	(micromips_opcodes): Update "cfc1", "cfc2", "ctc1", and "ctc2"
47503f5171aSchristos	entries replacing the `G' operand code with `g'.
47603f5171aSchristos
47703f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
47803f5171aSchristos
47903f5171aSchristos	* mips-dis.c (mips_cp0_names_r3900): New variable.
48003f5171aSchristos	(mips_arch_choices): Use it rather than `mips_cp0_names_numeric'
48103f5171aSchristos	for "r3900".
48203f5171aSchristos
48303f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
48403f5171aSchristos
48503f5171aSchristos	* mips-opc.c (mips_builtin_opcodes): Switch "cttc2", "mttc2",
48603f5171aSchristos	and "mtthc2" to using the `G' rather than `g' operand code for
48703f5171aSchristos	the coprocessor control register referred.
48803f5171aSchristos
48903f5171aSchristos2021-05-29  Maciej W. Rozycki  <macro@orcam.me.uk>
49003f5171aSchristos
49103f5171aSchristos	* micromips-opc.c (micromips_opcodes): Swap the two "dmtc1"
49203f5171aSchristos	entries with each other.
49303f5171aSchristos
49403f5171aSchristos2021-05-27  Peter Bergner  <bergner@linux.ibm.com>
49503f5171aSchristos
49603f5171aSchristos	* ppc-opc.c (powerpc_opcodes) <xxmr, xxlnot>: New extended mnemonics.
49703f5171aSchristos
49803f5171aSchristos2021-05-25  Alan Modra  <amodra@gmail.com>
49903f5171aSchristos
50003f5171aSchristos	* cris-desc.c: Regenerate.
50103f5171aSchristos	* cris-desc.h: Regenerate.
50203f5171aSchristos	* cris-opc.h: Regenerate.
50303f5171aSchristos	* po/POTFILES.in: Regenerate.
50403f5171aSchristos
50503f5171aSchristos2021-05-24  Mike Frysinger  <vapier@gentoo.org>
50603f5171aSchristos
50703f5171aSchristos	* Makefile.am (HFILES): Add cris-desc.h & cris-opc.h.
50803f5171aSchristos	(TARGET_LIBOPCODES_CFILES): Add cris-desc.c.
50903f5171aSchristos	(CGEN_CPUS): Add cris.
51003f5171aSchristos	(CRIS_DEPS): Define.
51103f5171aSchristos	(stamp-cris): New rule.
51203f5171aSchristos	* cgen.sh: Handle desc action.
51303f5171aSchristos	* configure.ac (bfd_cris_arch): Add cris-desc.lo.
51403f5171aSchristos	* Makefile.in, configure: Regenerate.
51503f5171aSchristos
51603f5171aSchristos2021-05-18  Job Noorman  <mtvec@pm.me>
51703f5171aSchristos
51803f5171aSchristos	PR 27814
51903f5171aSchristos	* riscv-dis.c (riscv_get_disassembler): Get elf attributes only for
52003f5171aSchristos	the elf objects.
52103f5171aSchristos
52203f5171aSchristos2021-05-17  Alex Coplan  <alex.coplan@arm.com>
52303f5171aSchristos
52403f5171aSchristos	* arm-dis.c (mve_opcodes): Fix disassembly of
52503f5171aSchristos	MVE_VMOV2_GP_TO_VEC_LANE when idx == 1.
52603f5171aSchristos	(is_mve_encoding_conflict): MVE vector loads should not match
52703f5171aSchristos	when P = W = 0.
52803f5171aSchristos	(is_mve_unpredictable): It's not unpredictable to use the same
52903f5171aSchristos	source register twice (for MVE_VMOV2_GP_TO_VEC_LANE).
53003f5171aSchristos
53103f5171aSchristos2021-05-11  Nick Clifton  <nickc@redhat.com>
53203f5171aSchristos
53303f5171aSchristos	PR 27840
53403f5171aSchristos	* tic30-dis.c (print_insn_tic30): Prevent attempts to read beyond
53503f5171aSchristos	the end of the code buffer.
53603f5171aSchristos
53703f5171aSchristos2021-05-06  Stafford Horne  <shorne@gmail.com>
53803f5171aSchristos
53903f5171aSchristos	PR 21464
54003f5171aSchristos	* or1k-asm.c: Regenerate.
54103f5171aSchristos
54203f5171aSchristos2021-05-01  Max Filippov  <jcmvbkbc@gmail.com>
54303f5171aSchristos
54403f5171aSchristos	* xtensa-dis.c (print_insn_xtensa): Fill in info->insn_type and
54503f5171aSchristos	info->insn_info_valid.
54603f5171aSchristos
54703f5171aSchristos2021-04-26  Jan Beulich  <jbeulich@suse.com>
54803f5171aSchristos
54903f5171aSchristos	* i386-opc.tbl (lea): Add Optimize.
55003f5171aSchristos	* opcodes/i386-tbl.h: Re-generate.
55103f5171aSchristos
55203f5171aSchristos2020-04-23  Max Filippov  <jcmvbkbc@gmail.com>
55303f5171aSchristos
55403f5171aSchristos	* xtensa-dis.c (print_xtensa_operand): For PC-relative operand
55503f5171aSchristos	of l32r fetch and display referenced literal value.
55603f5171aSchristos
55703f5171aSchristos2021-04-23  Max Filippov  <jcmvbkbc@gmail.com>
55803f5171aSchristos
55903f5171aSchristos	* xtensa-dis.c (print_insn_xtensa): Set info->bytes_per_chunk
56003f5171aSchristos	to 4 for literal disassembly.
56103f5171aSchristos
56203f5171aSchristos2021-04-19  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
56303f5171aSchristos
56403f5171aSchristos	* aarch64-opc.c: Add new registers (RPAOS, RPALOS, PAALLOS, PAALL) support
56503f5171aSchristos	for TLBI instruction.
56603f5171aSchristos
56703f5171aSchristos2021-04-19  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
56803f5171aSchristos
56903f5171aSchristos	* aarch64-opc.c: Add new register (CIPAPA, CIGDPAPA) support for
57003f5171aSchristos	DC instruction.
57103f5171aSchristos
57203f5171aSchristos2021-04-19  Jan Beulich  <jbeulich@suse.com>
57303f5171aSchristos
57403f5171aSchristos	* aarch64-asm.c (encode_asimd_fcvt): Add initializer for
57503f5171aSchristos	"qualifier".
57603f5171aSchristos	(convert_mov_to_movewide): Add initializer for "value".
57703f5171aSchristos
57803f5171aSchristos2021-04-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
57903f5171aSchristos
58003f5171aSchristos	* aarch64-opc.c: Add RME system registers.
58103f5171aSchristos
58203f5171aSchristos2021-04-16  Lifang Xia <lifang_xia@c-sky.com>
58303f5171aSchristos
58403f5171aSchristos	* riscv-opc.c (riscv_opcodes): New insn alias for addi. Compress
58503f5171aSchristos	"addi d,CV,z" to "c.mv d,CV".
58603f5171aSchristos
58703f5171aSchristos2021-04-12  Alan Modra  <amodra@gmail.com>
58803f5171aSchristos
58903f5171aSchristos	* configure.ac (--enable-checking): Add support.
59003f5171aSchristos	* config.in: Regenerate.
59103f5171aSchristos	* configure: Regenerate.
59203f5171aSchristos
59303f5171aSchristos2021-04-09  Tejas Belagod  <tejas.belagod@arm.com>
59403f5171aSchristos
59503f5171aSchristos	* aarch64-tbl.h (struct aarch64_opcode aarch64_opcode_table): Reclassify
59603f5171aSchristos	LD64/ST64 instructions to lse_atomic instead of ldstexcl.
59703f5171aSchristos
59803f5171aSchristos2021-04-09  Alan Modra  <amodra@gmail.com>
59903f5171aSchristos
60003f5171aSchristos	* ppc-dis.c (struct dis_private): Add "special".
60103f5171aSchristos	(POWERPC_DIALECT): Delete.  Replace uses with..
60203f5171aSchristos	(private_data): ..this.  New inline function.
60303f5171aSchristos	(disassemble_init_powerpc): Init "special" names.
60403f5171aSchristos	(skip_optional_operands): Add is_pcrel arg, set when detecting R
60503f5171aSchristos	field of prefix instructions.
60603f5171aSchristos	(bsearch_reloc, print_got_plt): New functions.
60703f5171aSchristos	(print_insn_powerpc): For pcrel instructions, print target address
60803f5171aSchristos	and symbol if known, and decode plt and got loads too.
60903f5171aSchristos
61003f5171aSchristos2021-04-08  Alan Modra  <amodra@gmail.com>
61103f5171aSchristos
61203f5171aSchristos	PR 27684
61303f5171aSchristos	* ppc-opc.c (powerpc_opcodes): Correct usprg typos, add mfpir.
61403f5171aSchristos
61503f5171aSchristos2021-04-08  Alan Modra  <amodra@gmail.com>
61603f5171aSchristos
61703f5171aSchristos	PR 27676
61803f5171aSchristos	* ppc-opc.c (DCBT_EO): Move earlier.
61903f5171aSchristos	(insert_thct, extract_thct, insert_thds, extract_thds): New functions.
62003f5171aSchristos	(powerpc_operands): Add THCT and THDS entries.
62103f5171aSchristos	(powerpc_opcodes): Add dcbtstct, dcbtstds, dcbna, dcbtct, dcbtds.
62203f5171aSchristos
62303f5171aSchristos2021-04-06  Alan Modra  <amodra@gmail.com>
62403f5171aSchristos
62503f5171aSchristos	* dis-buf.c (generic_symbol_at_address): Return symbol* NULL.
62603f5171aSchristos	* s12z-dis.c (decode_possible_symbol): Use symbol returned from
62703f5171aSchristos	symbol_at_address_func.
62803f5171aSchristos
62903f5171aSchristos2021-04-05  Alan Modra  <amodra@gmail.com>
63003f5171aSchristos
63103f5171aSchristos	* configure.ac: Don't check for limits.h, string.h, strings.h or
63203f5171aSchristos	stdlib.h.
63303f5171aSchristos	(AC_ISC_POSIX): Don't invoke.
63403f5171aSchristos	* sysdep.h: Include stdlib.h and string.h unconditionally.
63503f5171aSchristos	* i386-opc.h: Include limits.h unconditionally.
63603f5171aSchristos	* wasm32-dis.c: Likewise.
63703f5171aSchristos	* cgen-opc.c: Don't include alloca-conf.h.
63803f5171aSchristos	* config.in: Regenerate.
63903f5171aSchristos	* configure: Regenerate.
64003f5171aSchristos
64103f5171aSchristos2021-04-01  Martin Liska  <mliska@suse.cz>
64203f5171aSchristos
64303f5171aSchristos	* arm-dis.c (strneq): Remove strneq and use startswith.
64403f5171aSchristos	* cr16-dis.c (print_insn_cr16): Likewise.
64503f5171aSchristos	* score-dis.c (streq): Likewise.
64603f5171aSchristos	(strneq): Likewise.
64703f5171aSchristos	* score7-dis.c (strneq): Likewise.
64803f5171aSchristos
64903f5171aSchristos2021-04-01  Alan Modra  <amodra@gmail.com>
65003f5171aSchristos
65103f5171aSchristos	PR 27675
65203f5171aSchristos	* ppc-opc.c (powerpc_opcodes): Add mfummcr2 and mfmmcr2.
65303f5171aSchristos
65403f5171aSchristos2021-03-31  Alan Modra  <amodra@gmail.com>
65503f5171aSchristos
65603f5171aSchristos	* sysdep.h (POISON_BFD_BOOLEAN): Define.
65703f5171aSchristos	* aarch64-asm-2.c, * aarch64-asm.c, * aarch64-asm.h,
65803f5171aSchristos	* aarch64-dis-2.c, * aarch64-dis.c, * aarch64-dis.h,
65903f5171aSchristos	* aarch64-gen.c, * aarch64-opc.c, * aarch64-opc.h, * arc-dis.c,
66003f5171aSchristos	* arc-dis.h, * arc-fxi.h, * arc-opc.c, * arm-dis.c, * bfin-dis.c,
66103f5171aSchristos	* cris-dis.c, * csky-dis.c, * csky-opc.h, * dis-buf.c,
66203f5171aSchristos	* disassemble.c, * frv-opc.c, * frv-opc.h, * h8300-dis.c,
66303f5171aSchristos	* i386-dis.c, * m68k-dis.c, * metag-dis.c, * microblaze-dis.c,
66403f5171aSchristos	* microblaze-dis.h, * micromips-opc.c, * mips-dis.c,
66503f5171aSchristos	* mips-formats.h, * mips-opc.c, * mips16-opc.c, * mmix-dis.c,
66603f5171aSchristos	* msp430-dis.c, * nds32-dis.c, * nfp-dis.c, * nios2-dis.c,
66703f5171aSchristos	* ppc-dis.c, * riscv-dis.c, * score-dis.c, * score7-dis.c,
66803f5171aSchristos	* tic6x-dis.c, * v850-dis.c, * vax-dis.c, * wasm32-dis.c,
66903f5171aSchristos	* xtensa-dis.c: Replace bfd_boolean with bool, FALSE with false,
67003f5171aSchristos	and TRUE with true throughout.
67103f5171aSchristos
67203f5171aSchristos2021-03-31  Alan Modra  <amodra@gmail.com>
67303f5171aSchristos
67403f5171aSchristos	* aarch64-dis.c: Include stdint.h in place of bfd_stdint.h.
67503f5171aSchristos	* aarch64-dis.h: Likewise.
67603f5171aSchristos	* aarch64-opc.c: Likewise.
67703f5171aSchristos	* avr-dis.c: Likewise.
67803f5171aSchristos	* csky-dis.c: Likewise.
67903f5171aSchristos	* nds32-asm.c: Likewise.
68003f5171aSchristos	* nds32-dis.c: Likewise.
68103f5171aSchristos	* nfp-dis.c: Likewise.
68203f5171aSchristos	* riscv-dis.c: Likewise.
68303f5171aSchristos	* s12z-dis.c: Likewise.
68403f5171aSchristos	* wasm32-dis.c: Likewise.
68503f5171aSchristos
68603f5171aSchristos2021-03-30  Jan Beulich  <jbeulich@suse.com>
68703f5171aSchristos
68803f5171aSchristos	* i386-opc.c (cs, ds, ss, es, fs, gs): Delete.
68903f5171aSchristos	(i386_seg_prefixes): New.
69003f5171aSchristos	* i386-opc.h (cs, ds, ss, es, fs, gs): Delete.
69103f5171aSchristos	(i386_seg_prefixes): Declare.
69203f5171aSchristos
69303f5171aSchristos2021-03-30  Jan Beulich  <jbeulich@suse.com>
69403f5171aSchristos
69503f5171aSchristos	* i386-opc.h (REGNAM_AL, REGNAM_AX, REGNAM_EAX): Delete.
69603f5171aSchristos
69703f5171aSchristos2021-03-30  Jan Beulich  <jbeulich@suse.com>
69803f5171aSchristos
69903f5171aSchristos	* i386-opc.h (REGNAM_AL, REGNAM_AX, REGNAM_EAX): Adjust values.
70003f5171aSchristos	* i386-reg.tbl (st): Move down.
70103f5171aSchristos	(st(0)): Delete. Extend comment.
702106c59e5Schristos	* i386-tbl.h: Re-generate.
7037c6f6726Schristos
70403f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7057c6f6726Schristos
70603f5171aSchristos	* i386-opc.tbl (movq, movabs): Move next to mov counterparts.
70703f5171aSchristos	(cmpsd): Move next to cmps.
70803f5171aSchristos	(movsd): Move next to movs.
70903f5171aSchristos	(cmpxchg16b): Move to separate section.
71003f5171aSchristos	(fisttp, fisttpll): Likewise.
71103f5171aSchristos	(monitor, mwait): Likewise.
712106c59e5Schristos	* i386-tbl.h: Re-generate.
7137c6f6726Schristos
71403f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7157c6f6726Schristos
71603f5171aSchristos	* i386-opc.tbl (psadbw): Add <sse2:comm>.
71703f5171aSchristos	(vpsadbw): Add C.
7186f226886Schristos	* i386-tbl.h: Re-generate.
7192f15a542Schristos
72003f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7212f15a542Schristos
72203f5171aSchristos	* i386-opc.tbl (mmx, sse, sse2, sse3, ssse3, sse41, sse42, aes,
72303f5171aSchristos	pclmul, gfni): New templates. Use them wherever possible. Move
72403f5171aSchristos	SSE4.1 pextrw into respective section.
72503f5171aSchristos	* i386-tbl.h: Re-generate.
7262f15a542Schristos
72703f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7282f15a542Schristos
72903f5171aSchristos	* i386-gen.c (output_i386_opcode): Widen type of "opcode". Use
73003f5171aSchristos	strtoull(). Bump upper loop bound. Widen masks. Sanity check
73103f5171aSchristos	"length".
73203f5171aSchristos	* i386-opc.tbl (Prefix_0X66, Prefix_0XF2, Prefix_0XF3): Delete.
73303f5171aSchristos	Convert all of their uses to representation in opcode.
7342f15a542Schristos
73503f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7362f15a542Schristos
73703f5171aSchristos	* i386-opc.h (struct insn_template): Shrink base_opcode to 16
73803f5171aSchristos	bits. Shrink extension_opcode to 9 bits. Make it signed. Change
73903f5171aSchristos	value of None. Shrink operands to 3 bits.
7402f15a542Schristos
74103f5171aSchristos2021-03-29  Jan Beulich  <jbeulich@suse.com>
7422f15a542Schristos
74303f5171aSchristos	* i386-gen.c (process_i386_opcode_modifier): New parameter
74403f5171aSchristos	"space".
74503f5171aSchristos	(output_i386_opcode): New local variable "space". Adjust
74603f5171aSchristos	process_i386_opcode_modifier() invocation.
74703f5171aSchristos	(process_i386_opcodes): Adjust process_i386_opcode_modifier()
74803f5171aSchristos	invocation.
74903f5171aSchristos	* i386-tbl.h: Re-generate.
7502f15a542Schristos
75103f5171aSchristos2021-03-29  Alan Modra  <amodra@gmail.com>
7522f15a542Schristos
75303f5171aSchristos	* aarch64-opc.c (vector_qualifier_p): Simplify boolean expression.
75403f5171aSchristos	(fp_qualifier_p, get_data_pattern): Likewise.
75503f5171aSchristos	(aarch64_get_operand_modifier_from_value): Likewise.
75603f5171aSchristos	(aarch64_extend_operator_p, aarch64_shift_operator_p): Likewise.
75703f5171aSchristos	(operand_variant_qualifier_p): Likewise.
75803f5171aSchristos	(qualifier_value_in_range_constraint_p): Likewise.
75903f5171aSchristos	(aarch64_get_qualifier_esize): Likewise.
76003f5171aSchristos	(aarch64_get_qualifier_nelem): Likewise.
76103f5171aSchristos	(aarch64_get_qualifier_standard_value): Likewise.
76203f5171aSchristos	(get_lower_bound, get_upper_bound): Likewise.
76303f5171aSchristos	(aarch64_find_best_match, match_operands_qualifier): Likewise.
76403f5171aSchristos	(aarch64_print_operand): Likewise.
76503f5171aSchristos	* aarch64-opc.h (operand_has_inserter, operand_has_extractor): Likewise.
76603f5171aSchristos	(operand_need_sign_extension, operand_need_shift_by_two): Likewise.
76703f5171aSchristos	(operand_need_shift_by_four, operand_maybe_stack_pointer): Likewise.
76803f5171aSchristos	* arm-dis.c (print_insn_mve, print_insn_thumb32): Likewise.
76903f5171aSchristos	* tic6x-dis.c (tic6x_check_fetch_packet_header): Likewise.
77003f5171aSchristos	(print_insn_tic6x): Likewise.
7712f15a542Schristos
77203f5171aSchristos2021-03-29  Alan Modra  <amodra@gmail.com>
7732f15a542Schristos
77403f5171aSchristos	* arc-dis.c (extract_operand_value): Correct NULL cast.
77503f5171aSchristos	* frv-opc.h: Regenerate.
7762f15a542Schristos
77703f5171aSchristos2021-03-26  Jan Beulich  <jbeulich@suse.com>
778106c59e5Schristos
77903f5171aSchristos	* i386-opc.tbl (movq): Add CpuSSE2 to SSE2 form. Add CpuMMX to
78003f5171aSchristos	MMX form.
78103f5171aSchristos	* i386-tbl.h: Re-generate.
782106c59e5Schristos
78303f5171aSchristos2021-03-25  Abid Qadeer  <abidh@codesourcery.com>
784106c59e5Schristos
78503f5171aSchristos	* nios2-dis.c (nios2_print_insn_arg): Fix sign extension of
78603f5171aSchristos	immediate in br.n instruction.
787106c59e5Schristos
78803f5171aSchristos2021-03-25  Jan Beulich  <jbeulich@suse.com>
789106c59e5Schristos
79003f5171aSchristos	* i386-dis.c (XMGatherD, VexGatherD): New.
79103f5171aSchristos	(vex_table): Use VexGatherD for vpgatherd* and vgatherdp*.
79203f5171aSchristos	(print_insn): Check masking for S/G insns.
79303f5171aSchristos	(OP_E_memory): New local variable check_gather. Extend mandatory
79403f5171aSchristos	SIB check. Check register conflicts for (EVEX-encoded) gathers.
79503f5171aSchristos	Extend check for disallowed 16-bit addressing.
79603f5171aSchristos	(OP_VEX): New local variables modrm_reg and sib_index. Convert
79703f5171aSchristos	if()s to switch(). Check register conflicts for (VEX-encoded)
79803f5171aSchristos	gathers. Drop no longer reachable cases.
79903f5171aSchristos	* i386-dis-evex.h (evex_table): Use XMGatherD for vpgatherd* and
80003f5171aSchristos	vgatherdp*.
801106c59e5Schristos
80203f5171aSchristos2021-03-25  Jan Beulich  <jbeulich@suse.com>
803106c59e5Schristos
80403f5171aSchristos	* i386-dis.c (print_insn): Mark as bad EVEX encodings specifying
80503f5171aSchristos	zeroing-masking without masking.
806106c59e5Schristos
80703f5171aSchristos2021-03-25  Jan Beulich  <jbeulich@suse.com>
808106c59e5Schristos
80903f5171aSchristos	* i386-opc.tbl (invlpgb): Fix multi-operand form.
81003f5171aSchristos	(pvalidate, rmpupdate, rmpadjust): Add multi-operand forms. Mark
81103f5171aSchristos	single-operand forms as deprecated.
81203f5171aSchristos	* i386-tbl.h: Re-generate.
813106c59e5Schristos
81403f5171aSchristos2021-03-25  Alan Modra  <amodra@gmail.com>
815106c59e5Schristos
81603f5171aSchristos	PR 27647
81703f5171aSchristos	* ppc-opc.c (XLOCB_MASK): Delete.
81803f5171aSchristos	(XLBOBB_MASK, XLBOBIBB_MASK, XLBOCBBB_MASK): Define using
81903f5171aSchristos	XLBH_MASK.
82003f5171aSchristos	(powerpc_opcodes): Accept a BH field on all extended forms of
82103f5171aSchristos	bclr, bclrl, bcctr, bcctrl, bctar, bctarl.
822106c59e5Schristos
82303f5171aSchristos2021-03-24  Jan Beulich  <jbeulich@suse.com>
824106c59e5Schristos
82503f5171aSchristos	* i386-gen.c (output_i386_opcode): Drop processing of
82603f5171aSchristos	opcode_length. Calculate length from base_opcode. Adjust prefix
82703f5171aSchristos	encoding determination.
82803f5171aSchristos	(process_i386_opcodes): Drop output of fake opcode_length.
82903f5171aSchristos	* i386-opc.h (struct insn_template): Drop opcode_length field.
83003f5171aSchristos	* i386-opc.tbl: Drop opcode length field from all templates.
83103f5171aSchristos	* i386-tbl.h: Re-generate.
832106c59e5Schristos
83303f5171aSchristos2021-03-24  Jan Beulich  <jbeulich@suse.com>
83403f5171aSchristos
83503f5171aSchristos	* i386-gen.c (process_i386_opcode_modifier): Return void. New
83603f5171aSchristos	parameter "prefix". Drop local variable "regular_encoding".
83703f5171aSchristos	Record prefix setting / check for consistency.
83803f5171aSchristos	(output_i386_opcode): Parse opcode_length and base_opcode
83903f5171aSchristos	earlier. Derive prefix encoding. Drop no longer applicable
84003f5171aSchristos	consistency checking. Adjust process_i386_opcode_modifier()
84103f5171aSchristos	invocation.
84203f5171aSchristos	(process_i386_opcodes): Adjust process_i386_opcode_modifier()
84303f5171aSchristos	invocation.
84403f5171aSchristos	* i386-tbl.h: Re-generate.
84503f5171aSchristos
84603f5171aSchristos2021-03-24  Jan Beulich  <jbeulich@suse.com>
84703f5171aSchristos
84803f5171aSchristos	* i386-gen.c (process_i386_opcode_modifier): Drop IsPrefix
84903f5171aSchristos	check.
85003f5171aSchristos	* i386-opc.h (Prefix_*): Move #define-s.
85103f5171aSchristos	* i386-opc.tbl: Move pseudo prefix enumerator values to
85203f5171aSchristos	extension opcode field. Introduce pseudopfx template.
85303f5171aSchristos	* i386-tbl.h: Re-generate.
85403f5171aSchristos
85503f5171aSchristos2021-03-23  Jan Beulich  <jbeulich@suse.com>
85603f5171aSchristos
85703f5171aSchristos	* i386-opc.h (PREFIX_0XF2, PREFIX_0XF3): Excahnge values. Extend
85803f5171aSchristos	comment.
85903f5171aSchristos	* i386-tbl.h: Re-generate.
86003f5171aSchristos
86103f5171aSchristos2021-03-23  Jan Beulich  <jbeulich@suse.com>
86203f5171aSchristos
86303f5171aSchristos	* i386-opc.h (struct insn_template): Move cpu_flags field past
86403f5171aSchristos	opcode_modifier one.
86503f5171aSchristos	* i386-tbl.h: Re-generate.
86603f5171aSchristos
86703f5171aSchristos2021-03-23  Jan Beulich  <jbeulich@suse.com>
86803f5171aSchristos
86903f5171aSchristos	* i386-gen.c (opcode_modifiers): New OpcodeSpace element.
87003f5171aSchristos	* i386-opc.h (OpcodeSpace): New enumerator.
87103f5171aSchristos	(VEX0F, VEX0F38, VEX0F3A, XOP08, XOP09, XOP0A): Rename to ...
87203f5171aSchristos	(SPACE_BASE, SPACE_0F, SPACE_0F38, SPACE_0F3A, SPACE_XOP08,
87303f5171aSchristos	SPACE_XOP09, SPACE_XOP0A): ... respectively.
87403f5171aSchristos	(struct i386_opcode_modifier): New field opcodespace. Shrink
87503f5171aSchristos	opcodeprefix field.
87603f5171aSchristos	i386-opc.tbl (Space0F, Space0F38, Space0F3A, SpaceXOP08,
87703f5171aSchristos	SpaceXOP09, SpaceXOP0A): Define. Use them to replace
87803f5171aSchristos	OpcodePrefix uses.
87903f5171aSchristos	* i386-tbl.h: Re-generate.
88003f5171aSchristos
88103f5171aSchristos2021-03-22  Martin Liska  <mliska@suse.cz>
88203f5171aSchristos
88303f5171aSchristos	* aarch64-dis.c (parse_aarch64_dis_option): Replace usage of CONST_STRNEQ with startswith.
88403f5171aSchristos	* arc-dis.c (parse_option): Likewise.
88503f5171aSchristos	* arm-dis.c (parse_arm_disassembler_options): Likewise.
88603f5171aSchristos	* cris-dis.c (print_with_operands): Likewise.
88703f5171aSchristos	* h8300-dis.c (bfd_h8_disassemble): Likewise.
88803f5171aSchristos	* i386-dis.c (print_insn): Likewise.
88903f5171aSchristos	* ia64-gen.c (fetch_insn_class): Likewise.
89003f5171aSchristos	(parse_resource_users): Likewise.
89103f5171aSchristos	(in_iclass): Likewise.
89203f5171aSchristos	(lookup_specifier): Likewise.
89303f5171aSchristos	(insert_opcode_dependencies): Likewise.
89403f5171aSchristos	* mips-dis.c (parse_mips_ase_option): Likewise.
89503f5171aSchristos	(parse_mips_dis_option): Likewise.
89603f5171aSchristos	* s390-dis.c (disassemble_init_s390): Likewise.
89703f5171aSchristos	* wasm32-dis.c (parse_wasm32_disassembler_options): Likewise.
89803f5171aSchristos
89903f5171aSchristos2021-03-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
90003f5171aSchristos
90103f5171aSchristos	* riscv-opc.c (riscv_opcodes): Add zba, zbb and zbc instructions.
90203f5171aSchristos
90303f5171aSchristos2021-03-12  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
90403f5171aSchristos
90503f5171aSchristos	* aarch64-opc.c: Add lorc_el1, lorea_el1, lorn_el1, lorsa_el1,
90603f5171aSchristos	icc_ctlr_el3, icc_sre_elx, ich_vtr_el2 system registers.
90703f5171aSchristos
90803f5171aSchristos2021-03-12  Alan Modra  <amodra@gmail.com>
90903f5171aSchristos
91003f5171aSchristos	* i386-dis.c (print_insn <PREFIX_IGNORED>): Correct typo.
91103f5171aSchristos
91203f5171aSchristos2021-03-11  Jan Beulich  <jbeulich@suse.com>
91303f5171aSchristos
91403f5171aSchristos	* i386-dis.c (OP_XMM): Re-order checks.
91503f5171aSchristos
91603f5171aSchristos2021-03-11  Jan Beulich  <jbeulich@suse.com>
91703f5171aSchristos
91803f5171aSchristos	* i386-dis.c (putop): Drop need_vex check when also checking
91903f5171aSchristos	vex.evex.
92003f5171aSchristos	(intel_operand_size, OP_E_memory): Drop vex.evex check when also
92103f5171aSchristos	checking vex.b.
92203f5171aSchristos
92303f5171aSchristos2021-03-11  Jan Beulich  <jbeulich@suse.com>
92403f5171aSchristos
92503f5171aSchristos	* i386-dis.c (OP_E_memory): Drop xmmq_mode from broadcast
92603f5171aSchristos	checks. Move case label past broadcast check.
92703f5171aSchristos
92803f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
92903f5171aSchristos
93003f5171aSchristos	* opcodes/i386-dis.c (MVexVSIBDQWpX, MVexVSIBQDWpX,
93103f5171aSchristos	vex_vsib_d_w_d_mode, vex_vsib_q_w_d_mode,
93203f5171aSchristos	REG_EVEX_0F38C7_M_0_L_2_W_0, REG_EVEX_0F38C7_M_0_L_2_W_1,
93303f5171aSchristos	EVEX_W_0F3891, EVEX_W_0F3893, EVEX_W_0F38A1, EVEX_W_0F38A3,
93403f5171aSchristos	EVEX_W_0F38C7_M_0_L_2): Delete.
93503f5171aSchristos	(REG_EVEX_0F38C7_M_0_L_2): New.
93603f5171aSchristos	(intel_operand_size): Handle VEX and EVEX the same for
93703f5171aSchristos	vex_vsib_d_w_dq_mode and vex_vsib_q_w_dq_mode. Drop
93803f5171aSchristos	vex_vsib_d_w_d_mode and vex_vsib_q_w_d_mode cases.
93903f5171aSchristos	(OP_E_memory, OP_XMM, OP_VEX): Drop vex_vsib_d_w_d_mode and
94003f5171aSchristos	vex_vsib_q_w_d_mode uses.
94103f5171aSchristos	* i386-dis-evex.h (evex_table): Adjust opcode 0F3891, 0F3893,
94203f5171aSchristos	0F38A1, and 0F38A3 entries.
94303f5171aSchristos	* i386-dis-evex-len.h (evex_len_table): Adjust opcode 0F38C7
94403f5171aSchristos	entry.
94503f5171aSchristos	* i386-dis-evex-reg.h: Fold opcode 0F38C7 entries.
94603f5171aSchristos	* i386-dis-evex-w.h: Delete opcode 0F3891, 0F3893, 0F38A1, and
94703f5171aSchristos	0F38A3 entries.
94803f5171aSchristos
94903f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
95003f5171aSchristos
95103f5171aSchristos	* opcodes/i386-dis.c (REG_0FXOP_09_01_L_0, REG_0FXOP_09_02_L_0,
95203f5171aSchristos	REG_0FXOP_09_12_M_1_L_0, REG_0FXOP_0A_12_L_0,
95303f5171aSchristos	MOD_VEX_0FXOP_09_12): Rename to ...
95403f5171aSchristos	(REG_XOP_09_01_L_0, REG_XOP_09_02_L_0, REG_XOP_09_12_M_1_L_0,
95503f5171aSchristos	REG_XOP_0A_12_L_0, MOD_XOP_09_12): ... these.
95603f5171aSchristos	(MOD_62_32BIT, MOD_8D, MOD_C4_32BIT, MOD_C5_32BIT,
95703f5171aSchristos	RM_0F3A0F_P_1_MOD_3_REG_0, X86_64_0F24, X86_64_0F26,
95803f5171aSchristos	X86_64_VEX_0F3849, X86_64_VEX_0F384B, X86_64_VEX_0F385C,
95903f5171aSchristos	X86_64_VEX_0F385E, X86_64_0FC7_REG_6_MOD_3_PREFIX_1): Move.
96003f5171aSchristos	(reg_table): Adjust comments.
96103f5171aSchristos	(x86_64_table): Move X86_64_0F24, X86_64_0F26,
96203f5171aSchristos	X86_64_VEX_0F3849, X86_64_VEX_0F384B, X86_64_VEX_0F385C,
96303f5171aSchristos	X86_64_VEX_0F385E, and X86_64_0FC7_REG_6_MOD_3_PREFIX_1 entries.
96403f5171aSchristos	(xop_table): Adjust opcode 09_01, 09_02, and 09_12 entries.
96503f5171aSchristos	(vex_len_table): Adjust opcode 0A_12 entry.
96603f5171aSchristos	(mod_table): Move MOD_62_32BIT, MOD_8D, MOD_C4_32BIT,
96703f5171aSchristos	MOD_C5_32BIT, and MOD_XOP_09_12 entries.
96803f5171aSchristos	(rm_table): Move hreset entry.
96903f5171aSchristos
97003f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
97103f5171aSchristos
97203f5171aSchristos	* opcodes/i386-dis.c (EVEX_LEN_0F6E, EVEX_LEN_0F7E_P_1,
97303f5171aSchristos	EVEX_LEN_0F7E_P_2, EVEX_LEN_0FC4, EVEX_LEN_0FC5, EVEX_LEN_0FD6,
97403f5171aSchristos	EVEX_LEN_0F3816, EVEX_LEN_0F3A14, EVEX_LEN_0F3A15,
97503f5171aSchristos	EVEX_LEN_0F3A16, EVEX_LEN_0F3A17, EVEX_LEN_0F3A20,
97603f5171aSchristos	EVEX_LEN_0F3A21_W_0, EVEX_LEN_0F3A22, EVEX_W_0FD6_L_0): Delete.
97703f5171aSchristos	(EVEX_LEN_0F3816, EVEX_W_0FD6): New.
97803f5171aSchristos	(get_valid_dis386): Also handle 512-bit vector length when
97903f5171aSchristos	vectoring into vex_len_table[].
98003f5171aSchristos	* i386-dis-evex.h (evex_table): Adjust opcode 0F6E, 0FC4, 0FC5,
98103f5171aSchristos	0FD6, 0F3A14, 0F3A15, 0F3A16, 0F3A17, 0F3A20, and 0F3A22
98203f5171aSchristos	entries.
98303f5171aSchristos	* i386-dis-evex-len.h: Delete opcode 0F6E, 0FC4, 0FC5, 0FD6,
98403f5171aSchristos	0F3A14, 0F3A15, 0F3A16, 0F3A17, 0F3A20, and 0F3A22 entries.
98503f5171aSchristos	* i386-dis-evex-prefix.h: Adjust 0F7E entry.
98603f5171aSchristos	* i386-dis-evex-w.h: Adjust 0F7E, 0F7F, 0FD6, and 0F3A21
98703f5171aSchristos	entries.
98803f5171aSchristos
98903f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
99003f5171aSchristos
99103f5171aSchristos	* opcodes/i386-dis.c (EVEX_LEN_0F3A00_W_1, EVEX_LEN_0F3A01_W_1):
99203f5171aSchristos	Rename to EVEX_LEN_0F3A00 and EVEX_LEN_0F3A01 respectively.
99303f5171aSchristos	EVEX_W_0F3A00, EVEX_W_0F3A01): Delete.
99403f5171aSchristos	* i386-dis-evex.h (evex_table): Adjust opcode 0F3A00 and 0F3A01
99503f5171aSchristos	entries.
99603f5171aSchristos	* i386-dis-evex-len.h (evex_len_table): Likewise.
99703f5171aSchristos	* i386-dis-evex-w.h: Remove opcode 0F3A00 and 0F3A01 entries.
99803f5171aSchristos
99903f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
100003f5171aSchristos
100103f5171aSchristos	* opcodes/i386-dis.c (REG_EVEX_0F38C6, REG_EVEX_0F38C7,
100203f5171aSchristos	MOD_EVEX_0F381A_W_0, MOD_EVEX_0F381A_W_1, MOD_EVEX_0F381B_W_0,
100303f5171aSchristos	MOD_EVEX_0F381B_W_1, MOD_EVEX_0F385A_W_0, MOD_EVEX_0F385A_W_1,
100403f5171aSchristos	MOD_EVEX_0F385B_W_0, MOD_EVEX_0F385B_W_1,
100503f5171aSchristos	MOD_EVEX_0F38C6_REG_1, MOD_EVEX_0F38C6_REG_2,
100603f5171aSchristos	MOD_EVEX_0F38C6_REG_5, MOD_EVEX_0F38C6_REG_6,
100703f5171aSchristos	MOD_EVEX_0F38C7_REG_1, MOD_EVEX_0F38C7_REG_2,
100803f5171aSchristos	MOD_EVEX_0F38C7_REG_5, MOD_EVEX_0F38C7_REG_6
100903f5171aSchristos	EVEX_LEN_0F3819_W_0, EVEX_LEN_0F3819_W_1,
101003f5171aSchristos	EVEX_LEN_0F381A_W_0_M_0, EVEX_LEN_0F381A_W_1_M_0,
101103f5171aSchristos	EVEX_LEN_0F381B_W_0_M_0, EVEX_LEN_0F381B_W_1_M_0,
101203f5171aSchristos	EVEX_LEN_0F385A_W_0_M_0, EVEX_LEN_0F385A_W_1_M_0,
101303f5171aSchristos	EVEX_LEN_0F385B_W_0_M_0, EVEX_LEN_0F385B_W_1_M_0,
101403f5171aSchristos	EVEX_LEN_0F38C6_R_1_M_0, EVEX_LEN_0F38C6_R_2_M_0,
101503f5171aSchristos	EVEX_LEN_0F38C6_R_5_M_0, EVEX_LEN_0F38C6_R_6_M_0,
101603f5171aSchristos	EVEX_LEN_0F38C7_R_1_M_0_W_0, EVEX_LEN_0F38C7_R_1_M_0_W_1,
101703f5171aSchristos	EVEX_LEN_0F38C7_R_2_M_0_W_0, EVEX_LEN_0F38C7_R_2_M_0_W_1,
101803f5171aSchristos	EVEX_LEN_0F38C7_R_5_M_0_W_0, EVEX_LEN_0F38C7_R_5_M_0_W_1,
101903f5171aSchristos	EVEX_LEN_0F38C7_R_6_M_0_W_0, EVEX_LEN_0F38C7_R_6_M_0_W_1,
102003f5171aSchristos	EVEX_LEN_0F3A18_W_0, EVEX_LEN_0F3A18_W_1, EVEX_LEN_0F3A19_W_0,
102103f5171aSchristos	EVEX_LEN_0F3A19_W_1, EVEX_LEN_0F3A1A_W_0, EVEX_LEN_0F3A1A_W_1,
102203f5171aSchristos	EVEX_LEN_0F3A1B_W_0, EVEX_LEN_0F3A1B_W_1, EVEX_LEN_0F3A23_W_0,
102303f5171aSchristos	EVEX_LEN_0F3A23_W_1, EVEX_LEN_0F3A38_W_0, EVEX_LEN_0F3A38_W_1,
102403f5171aSchristos	EVEX_LEN_0F3A39_W_0, EVEX_LEN_0F3A39_W_1, EVEX_LEN_0F3A3A_W_0,
102503f5171aSchristos	EVEX_LEN_0F3A3A_W_1, EVEX_LEN_0F3A3B_W_0, EVEX_LEN_0F3A3B_W_1,
102603f5171aSchristos	EVEX_LEN_0F3A43_W_0, EVEX_LEN_0F3A43_W_1 EVEX_W_0F3819,
102703f5171aSchristos	EVEX_W_0F381A, EVEX_W_0F381B, EVEX_W_0F385A, EVEX_W_0F385B,
102803f5171aSchristos	EVEX_W_0F38C7_R_1_M_0, EVEX_W_0F38C7_R_2_M_0,
102903f5171aSchristos	EVEX_W_0F38C7_R_5_M_0, EVEX_W_0F38C7_R_6_M_0,
103003f5171aSchristos	EVEX_W_0F3A18, EVEX_W_0F3A19, EVEX_W_0F3A1A, EVEX_W_0F3A1B,
103103f5171aSchristos	EVEX_W_0F3A23, EVEX_W_0F3A38, EVEX_W_0F3A39, EVEX_W_0F3A3A,
103203f5171aSchristos	EVEX_W_0F3A3B, EVEX_W_0F3A43): Delete.
103303f5171aSchristos	REG_EVEX_0F38C6_M_0_L_2, REG_EVEX_0F38C7_M_0_L_2_W_0,
103403f5171aSchristos	REG_EVEX_0F38C7_M_0_L_2_W_1, MOD_EVEX_0F381A,
103503f5171aSchristos	MOD_EVEX_0F381B, MOD_EVEX_0F385A, MOD_EVEX_0F385B,
103603f5171aSchristos	MOD_EVEX_0F38C6, MOD_EVEX_0F38C7 EVEX_LEN_0F3819,
103703f5171aSchristos	EVEX_LEN_0F381A_M_0, EVEX_LEN_0F381B_M_0,
103803f5171aSchristos	EVEX_LEN_0F385A_M_0, EVEX_LEN_0F385B_M_0,
103903f5171aSchristos	EVEX_LEN_0F38C6_M_0, EVEX_LEN_0F38C7_M_0,
104003f5171aSchristos	EVEX_LEN_0F3A18, EVEX_LEN_0F3A19, EVEX_LEN_0F3A1A,
104103f5171aSchristos	EVEX_LEN_0F3A1B, EVEX_LEN_0F3A23, EVEX_LEN_0F3A38,
104203f5171aSchristos	EVEX_LEN_0F3A39, EVEX_LEN_0F3A3A, EVEX_LEN_0F3A3B,
104303f5171aSchristos	EVEX_LEN_0F3A43, EVEX_W_0F3819_L_n, EVEX_W_0F381A_M_0_L_n,
104403f5171aSchristos	EVEX_W_0F381B_M_0_L_2, EVEX_W_0F385A_M_0_L_n,
104503f5171aSchristos	EVEX_W_0F385B_M_0_L_2, EVEX_W_0F38C7_M_0_L_2,
104603f5171aSchristos	EVEX_W_0F3A18_L_n, EVEX_W_0F3A19_L_n, EVEX_W_0F3A1A_L_2,
104703f5171aSchristos	EVEX_W_0F3A1B_L_2, EVEX_W_0F3A23_L_n, EVEX_W_0F3A38_L_n,
104803f5171aSchristos	EVEX_W_0F3A39_L_n, EVEX_W_0F3A3A_L_2, EVEX_W_0F3A3B_L_2,
104903f5171aSchristos	EVEX_W_0F3A43_L_n): New.
105003f5171aSchristos	* i386-dis-evex.h (evex_table): Adjust opcode 0F3819, 0F381A,
105103f5171aSchristos	0F381B, 0F385A, 0F385B, 0F38C7, 0F3A18, 0F3A19, 0F3A1A, 0F3A1B,
105203f5171aSchristos	0F3A23, 0F3A38, 0F3A39, 0F3A3A,	0F3A3B, and 0F3A43 entries.
105303f5171aSchristos	* i386-dis-evex-len.h (evex_len_table): Link to vex_w_table[]
105403f5171aSchristos	for opcodes 0F3819, 0F381A, 0F381B, 0F385A, 0F385B, 0F38C7,
105503f5171aSchristos	0F3A18, 0F3A19, 0F3A1A, 0F3A1B, 0F3A23, 0F3A38, 0F3A39, 0F3A3A,
105603f5171aSchristos	0F3A3B, and 0F3A43. Link to reg_table[] for opcodes 0F38C6.
105703f5171aSchristos	* i386-dis-evex-mod.h: Adjust opcode 0F381A, 0F381B, 0F385A,
105803f5171aSchristos	0F385B, 0F38C6, and 0F38C7 entries.
105903f5171aSchristos	* i386-dis-evex-reg.h: No longer link to mod_table[] for opcodes
106003f5171aSchristos	0F38C6 and 0F38C7.
106103f5171aSchristos	* i386-dis-evex-w.h: No longer link to evex_len_table[] for
106203f5171aSchristos	opcodes 0F3819, 0F38C7, 0F3A18, 0F3A19, 0F3A1A, 0F3A1B, 0F3A23,
106303f5171aSchristos	0F3A38, 0F3A39, 0F3A3A, 0F3A3B, and 0F3A43. No longer link to
106403f5171aSchristos	evex_len_table[] for opcodes 0F381A, 0F381B, 0F385A, and 0F385B.
106503f5171aSchristos
106603f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
106703f5171aSchristos
106803f5171aSchristos	* opcodes/i386-dis.c (MOD_VEX_W_0_0F41_P_0_LEN_1,
106903f5171aSchristos	MOD_VEX_W_1_0F41_P_0_LEN_1, MOD_VEX_W_0_0F41_P_2_LEN_1,
107003f5171aSchristos	MOD_VEX_W_1_0F41_P_2_LEN_1, MOD_VEX_W_0_0F42_P_0_LEN_1,
107103f5171aSchristos	MOD_VEX_W_1_0F42_P_0_LEN_1, MOD_VEX_W_0_0F42_P_2_LEN_1,
107203f5171aSchristos	MOD_VEX_W_1_0F42_P_2_LEN_1, MOD_VEX_W_0_0F44_P_0_LEN_1,
107303f5171aSchristos	MOD_VEX_W_1_0F44_P_0_LEN_1, MOD_VEX_W_0_0F44_P_2_LEN_1,
107403f5171aSchristos	MOD_VEX_W_1_0F44_P_2_LEN_1, MOD_VEX_W_0_0F45_P_0_LEN_1,
107503f5171aSchristos	MOD_VEX_W_1_0F45_P_0_LEN_1, MOD_VEX_W_0_0F45_P_2_LEN_1,
107603f5171aSchristos	MOD_VEX_W_1_0F45_P_2_LEN_1, MOD_VEX_W_0_0F46_P_0_LEN_1,
107703f5171aSchristos	MOD_VEX_W_1_0F46_P_0_LEN_1, MOD_VEX_W_0_0F46_P_2_LEN_1,
107803f5171aSchristos	MOD_VEX_W_1_0F46_P_2_LEN_1, MOD_VEX_W_0_0F47_P_0_LEN_1,
107903f5171aSchristos	MOD_VEX_W_1_0F47_P_0_LEN_1, MOD_VEX_W_0_0F47_P_2_LEN_1,
108003f5171aSchristos	MOD_VEX_W_1_0F47_P_2_LEN_1, MOD_VEX_W_0_0F4A_P_0_LEN_1,
108103f5171aSchristos	MOD_VEX_W_1_0F4A_P_0_LEN_1, MOD_VEX_W_0_0F4A_P_2_LEN_1,
108203f5171aSchristos	MOD_VEX_W_1_0F4A_P_2_LEN_1, MOD_VEX_W_0_0F4B_P_0_LEN_1,
108303f5171aSchristos	MOD_VEX_W_1_0F4B_P_0_LEN_1, MOD_VEX_W_0_0F4B_P_2_LEN_1,
108403f5171aSchristos	MOD_VEX_W_0_0F91_P_0_LEN_0, MOD_VEX_W_1_0F91_P_0_LEN_0,
108503f5171aSchristos	MOD_VEX_W_0_0F91_P_2_LEN_0, MOD_VEX_W_1_0F91_P_2_LEN_0,
108603f5171aSchristos	MOD_VEX_W_0_0F92_P_0_LEN_0, MOD_VEX_W_0_0F92_P_2_LEN_0,
108703f5171aSchristos	MOD_VEX_0F92_P_3_LEN_0, MOD_VEX_W_0_0F93_P_0_LEN_0,
108803f5171aSchristos	MOD_VEX_W_0_0F93_P_2_LEN_0, MOD_VEX_0F93_P_3_LEN_0,
108903f5171aSchristos	MOD_VEX_W_0_0F98_P_0_LEN_0, MOD_VEX_W_1_0F98_P_0_LEN_0,
109003f5171aSchristos	MOD_VEX_W_0_0F98_P_2_LEN_0, MOD_VEX_W_1_0F98_P_2_LEN_0,
109103f5171aSchristos	MOD_VEX_W_0_0F99_P_0_LEN_0, MOD_VEX_W_1_0F99_P_0_LEN_0,
109203f5171aSchristos	MOD_VEX_W_0_0F99_P_2_LEN_0, MOD_VEX_W_1_0F99_P_2_LEN_0,
109303f5171aSchristos	PREFIX_VEX_0F41, PREFIX_VEX_0F42, PREFIX_VEX_0F44,
109403f5171aSchristos	PREFIX_VEX_0F45, PREFIX_VEX_0F46, PREFIX_VEX_0F47,
109503f5171aSchristos	PREFIX_VEX_0F4A, PREFIX_VEX_0F4B, PREFIX_VEX_0F90,
109603f5171aSchristos	PREFIX_VEX_0F91, PREFIX_VEX_0F92, PREFIX_VEX_0F93,
109703f5171aSchristos	PREFIX_VEX_0F98, PREFIX_VEX_0F99, VEX_LEN_0F41_P_0,
109803f5171aSchristos	VEX_LEN_0F41_P_2, VEX_LEN_0F42_P_0, VEX_LEN_0F42_P_2,
109903f5171aSchristos	VEX_LEN_0F44_P_0, VEX_LEN_0F44_P_2, VEX_LEN_0F45_P_0,
110003f5171aSchristos	VEX_LEN_0F45_P_2, VEX_LEN_0F46_P_0, VEX_LEN_0F46_P_2,
110103f5171aSchristos	VEX_LEN_0F47_P_0, VEX_LEN_0F47_P_2, VEX_LEN_0F4A_P_0,
110203f5171aSchristos	VEX_LEN_0F4A_P_2, VEX_LEN_0F4B_P_0, VEX_LEN_0F4B_P_2,
110303f5171aSchristos	VEX_LEN_0F90_P_0, VEX_LEN_0F90_P_2, VEX_LEN_0F91_P_0,
110403f5171aSchristos	VEX_LEN_0F91_P_2, VEX_LEN_0F92_P_0, VEX_LEN_0F92_P_2,
110503f5171aSchristos	VEX_LEN_0F92_P_3, VEX_LEN_0F93_P_0, VEX_LEN_0F93_P_2,
110603f5171aSchristos	VEX_LEN_0F93_P_3, VEX_LEN_0F98_P_0, VEX_LEN_0F98_P_2,
110703f5171aSchristos	VEX_LEN_0F99_P_0, VEX_LEN_0F99_P_2, VEX_W_0F41_P_0_LEN_1,
110803f5171aSchristos	VEX_W_0F41_P_2_LEN_1, VEX_W_0F42_P_0_LEN_1,
110903f5171aSchristos	VEX_W_0F42_P_2_LEN_1, VEX_W_0F44_P_0_LEN_0,
111003f5171aSchristos	VEX_W_0F44_P_2_LEN_0, VEX_W_0F45_P_0_LEN_1,
111103f5171aSchristos	VEX_W_0F45_P_2_LEN_1, VEX_W_0F46_P_0_LEN_1,
111203f5171aSchristos	VEX_W_0F46_P_2_LEN_1, VEX_W_0F47_P_0_LEN_1,
111303f5171aSchristos	VEX_W_0F47_P_2_LEN_1, VEX_W_0F4A_P_0_LEN_1,
111403f5171aSchristos	VEX_W_0F4A_P_2_LEN_1, VEX_W_0F4B_P_0_LEN_1,
111503f5171aSchristos	VEX_W_0F4B_P_2_LEN_1, VEX_W_0F90_P_0_LEN_0,
111603f5171aSchristos	VEX_W_0F90_P_2_LEN_0, VEX_W_0F91_P_0_LEN_0,
111703f5171aSchristos	VEX_W_0F91_P_2_LEN_0, VEX_W_0F92_P_0_LEN_0,
111803f5171aSchristos	VEX_W_0F92_P_2_LEN_0, VEX_W_0F93_P_0_LEN_0,
111903f5171aSchristos	VEX_W_0F93_P_2_LEN_0, VEX_W_0F98_P_0_LEN_0,
112003f5171aSchristos	VEX_W_0F98_P_2_LEN_0, VEX_W_0F99_P_0_LEN_0,
112103f5171aSchristos	VEX_W_0F99_P_2_LEN_0): Delete.
112203f5171aSchristos	MOD_VEX_0F41_L_1, MOD_VEX_0F42_L_1, MOD_VEX_0F44_L_0,
112303f5171aSchristos	MOD_VEX_0F45_L_1, MOD_VEX_0F46_L_1, MOD_VEX_0F47_L_1,
112403f5171aSchristos	MOD_VEX_0F4A_L_1, MOD_VEX_0F4B_L_1, MOD_VEX_0F91_L_0,
112503f5171aSchristos	MOD_VEX_0F92_L_0, MOD_VEX_0F93_L_0, MOD_VEX_0F98_L_0,
112603f5171aSchristos	MOD_VEX_0F99_L_0, PREFIX_VEX_0F41_L_1_M_1_W_0,
112703f5171aSchristos	PREFIX_VEX_0F41_L_1_M_1_W_1, PREFIX_VEX_0F42_L_1_M_1_W_0,
112803f5171aSchristos	PREFIX_VEX_0F42_L_1_M_1_W_1, PREFIX_VEX_0F44_L_0_M_1_W_0,
112903f5171aSchristos	PREFIX_VEX_0F44_L_0_M_1_W_1, PREFIX_VEX_0F45_L_1_M_1_W_0,
113003f5171aSchristos	PREFIX_VEX_0F45_L_1_M_1_W_1, PREFIX_VEX_0F46_L_1_M_1_W_0,
113103f5171aSchristos	PREFIX_VEX_0F46_L_1_M_1_W_1, PREFIX_VEX_0F47_L_1_M_1_W_0,
113203f5171aSchristos	PREFIX_VEX_0F47_L_1_M_1_W_1, PREFIX_VEX_0F4A_L_1_M_1_W_0,
113303f5171aSchristos	PREFIX_VEX_0F4A_L_1_M_1_W_1, PREFIX_VEX_0F4B_L_1_M_1_W_0,
113403f5171aSchristos	PREFIX_VEX_0F4B_L_1_M_1_W_1, PREFIX_VEX_0F90_L_0_W_0,
113503f5171aSchristos	PREFIX_VEX_0F90_L_0_W_1, PREFIX_VEX_0F91_L_0_M_0_W_0,
113603f5171aSchristos	PREFIX_VEX_0F91_L_0_M_0_W_1, PREFIX_VEX_0F92_L_0_M_1_W_0,
113703f5171aSchristos	PREFIX_VEX_0F92_L_0_M_1_W_1, PREFIX_VEX_0F93_L_0_M_1_W_0,
113803f5171aSchristos	PREFIX_VEX_0F93_L_0_M_1_W_1, PREFIX_VEX_0F98_L_0_M_1_W_0,
113903f5171aSchristos	PREFIX_VEX_0F98_L_0_M_1_W_1, PREFIX_VEX_0F99_L_0_M_1_W_0,
114003f5171aSchristos	PREFIX_VEX_0F99_L_0_M_1_W_1, VEX_LEN_0F41, VEX_LEN_0F42,
114103f5171aSchristos	VEX_LEN_0F44, VEX_LEN_0F45, VEX_LEN_0F46, VEX_LEN_0F47,
114203f5171aSchristos	VEX_LEN_0F4A, VEX_LEN_0F4B, VEX_LEN_0F90, VEX_LEN_0F91,
114303f5171aSchristos	VEX_LEN_0F92, VEX_LEN_0F93, VEX_LEN_0F98, VEX_LEN_0F99,
114403f5171aSchristos	VEX_W_0F41_L_1_M_1, VEX_W_0F42_L_1_M_1, VEX_W_0F44_L_0_M_1,
114503f5171aSchristos	VEX_W_0F45_L_1_M_1, VEX_W_0F46_L_1_M_1, VEX_W_0F47_L_1_M_1,
114603f5171aSchristos	VEX_W_0F4A_L_1_M_1, VEX_W_0F4B_L_1_M_1, VEX_W_0F90_L_0,
114703f5171aSchristos	VEX_W_0F91_L_0_M_0, VEX_W_0F92_L_0_M_1, VEX_W_0F93_L_0_M_1,
114803f5171aSchristos	VEX_W_0F98_L_0_M_1, VEX_W_0F99_L_0_M_1): New.
114903f5171aSchristos	(prefix_table): No longer link to vex_len_table[] for opcodes
115003f5171aSchristos	0F41, 0F42, 0F44, 0F45, 0F46, 0F47, 0F4A, 0F4B, 0F90, 0F91,
115103f5171aSchristos	0F92, 0F93, 0F98, and 0F99.
115203f5171aSchristos	(vex_table): Link to vex_len_table[] for opcodes 0F41, 0F42,
115303f5171aSchristos	0F44, 0F45, 0F46, 0F47, 0F4A, 0F4B, 0F90, 0F91, 0F92, 0F93,
115403f5171aSchristos	0F98, and 0F99.
115503f5171aSchristos	(vex_len_table): Link to mod_table[] for opcodes 0F41, 0F42,
115603f5171aSchristos	0F44, 0F45, 0F46, 0F47, 0F4A, 0F4B, 0F90, 0F91, 0F92, 0F93,
115703f5171aSchristos	0F98, and 0F99.
115803f5171aSchristos	(vex_w_table): Link to prefix_table[] for opcodes 0F41, 0F42,
115903f5171aSchristos	0F44, 0F45, 0F46, 0F47, 0F4A, 0F4B, 0F90, 0F91, 0F92, 0F93,
116003f5171aSchristos	0F98, and 0F99.
116103f5171aSchristos	(mod_table): Link to vex_w_table[] for opcodes 0F41, 0F42,
116203f5171aSchristos	0F44, 0F45, 0F46, 0F47, 0F4A, 0F4B, 0F90, 0F91, 0F92, 0F93,
116303f5171aSchristos	0F98, and 0F99.
116403f5171aSchristos
116503f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
116603f5171aSchristos
116703f5171aSchristos	* opcodes/i386-dis.c (VEX_REG_0F71, VEX_REG_0F72, VEX_REG_0F73):
116803f5171aSchristos	Rename to REG_VEX_0F71_M_0, REG_VEX_0F72_M_0, and
116903f5171aSchristos	REG_VEX_0F73_M_0 respectively.
117003f5171aSchristos	(MOD_VEX_0F71_REG_2, MOD_VEX_0F71_REG_4, MOD_VEX_0F71_REG_6,
117103f5171aSchristos	MOD_VEX_0F72_REG_2, MOD_VEX_0F72_REG_4, MOD_VEX_0F72_REG_6,
117203f5171aSchristos	MOD_VEX_0F73_REG_2, MOD_VEX_0F73_REG_3, MOD_VEX_0F73_REG_6,
117303f5171aSchristos	MOD_VEX_0F73_REG_7): Delete.
117403f5171aSchristos	(MOD_VEX_0F71, MOD_VEX_0F72, MOD_VEX_0F73): New.
117503f5171aSchristos	(PREFIX_VEX_0F38F5, PREFIX_VEX_0F38F6, PREFIX_VEX_0F38F7,
117603f5171aSchristos	PREFIX_VEX_0F3AF0): Rename to PREFIX_VEX_0F38F5_L_0,
117703f5171aSchristos	PREFIX_VEX_0F38F6_L_0, PREFIX_VEX_0F38F7_L_0,
117803f5171aSchristos	PREFIX_VEX_0F3AF0_L_0 respectively.
117903f5171aSchristos	(VEX_LEN_0F38F3_R_1, VEX_LEN_0F38F3_R_2, VEX_LEN_0F38F3_R_3,
118003f5171aSchristos	VEX_LEN_0F38F5_P_0, VEX_LEN_0F38F5_P_1, VEX_LEN_0F38F5_P_3,
118103f5171aSchristos	VEX_LEN_0F38F6_P_3, VEX_LEN_0F38F7_P_0, VEX_LEN_0F38F7_P_1,
118203f5171aSchristos	VEX_LEN_0F38F7_P_2, VEX_LEN_0F38F7_P_3): Delete.
118303f5171aSchristos	(VEX_LEN_0F38F3, VEX_LEN_0F38F5, VEX_LEN_0F38F6,
118403f5171aSchristos	VEX_LEN_0F38F7): New.
118503f5171aSchristos	(VEX_LEN_0F3AF0_P_3): Rename to VEX_LEN_0F3AF0.
118603f5171aSchristos	(reg_table): No longer link to mod_table[] for VEX opcodes 0F71,
118703f5171aSchristos	0F72, and 0F73. No longer link to vex_len_table[] for opcode
118803f5171aSchristos	0F38F3.
118903f5171aSchristos	(prefix_table): No longer link to vex_len_table[] for opcodes
119003f5171aSchristos	0F38F5, 0F38F6, 0F38F7, and 0F3AF0.
119103f5171aSchristos	(vex_table): Link to mod_table[] for opcodes 0F71, 0F72, and
119203f5171aSchristos	0F73. Link to vex_len_table[] for opcodes 0F38F3, 0F38F5,
119303f5171aSchristos	0F38F6, 0F38F7, and 0F3AF0.
119403f5171aSchristos	(vex_len_table): Link to reg_table[] for opcode 0F38F3. Link to
119503f5171aSchristos	prefix_table[] for opcodes 0F38F5, 0F38F6, 0F38F7, and 0F3AF0.
119603f5171aSchristos	(mod_table): Link to reg_table[] for VEX opcodes 0F71, 0F72, and
119703f5171aSchristos	0F73.
119803f5171aSchristos
119903f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
120003f5171aSchristos
120103f5171aSchristos	* opcodes/i386-dis.c (REG_0F71, REG_0F72, REG_0F73): Rename to
120203f5171aSchristos	REG_0F71_MOD_0, REG_0F72_MOD_0, and REG_0F73_MOD_0 respectively.
120303f5171aSchristos	(MOD_0F71_REG_2, MOD_0F71_REG_4, MOD_0F71_REG_6, MOD_0F72_REG_2,
120403f5171aSchristos	MOD_0F72_REG_4, MOD_0F72_REG_6, MOD_0F73_REG_2, MOD_0F73_REG_3,
120503f5171aSchristos	MOD_0F73_REG_6, MOD_0F73_REG_7): Delete.
120603f5171aSchristos	(MOD_0F71, MOD_0F72, MOD_0F73): New.
120703f5171aSchristos	(dis386_twobyte): Link to mod_table[] for opcodes 71, 72, and
120803f5171aSchristos	73.
120903f5171aSchristos	(reg_table): No longer link to mod_table[] for opcodes 0F71,
121003f5171aSchristos	0F72, and 0F73.
121103f5171aSchristos	(mod_table): Link to reg_table[] for opcodes 0F71, 0F72, and
121203f5171aSchristos	0F73.
121303f5171aSchristos
121403f5171aSchristos2021-03-10  Jan Beulich  <jbeulich@suse.com>
121503f5171aSchristos
121603f5171aSchristos	* opcodes/i386-dis.c (MOD_0F18_REG_4, MOD_0F18_REG_5,
121703f5171aSchristos	MOD_0F18_REG_6, MOD_0F18_REG_7): Delete.
121803f5171aSchristos	(reg_table): Don't link to mod_table[] where not needed. Add
121903f5171aSchristos	PREFIX_IGNORED to nop entries.
122003f5171aSchristos	(prefix_table): Replace PREFIX_OPCODE in nop entries.
122103f5171aSchristos	(mod_table): Add nop entries next to prefetch ones. Drop
122203f5171aSchristos	MOD_0F18_REG_4, MOD_0F18_REG_5, MOD_0F18_REG_6, and
122303f5171aSchristos	MOD_0F18_REG_7 entries. Add PREFIX_IGNORED to nop entries.
122403f5171aSchristos	(rm_table): Add PREFIX_IGNORED to nop entries. Drop
122503f5171aSchristos	PREFIX_OPCODE from endbr* entries.
122603f5171aSchristos	(get_valid_dis386): Also consider entry's name when zapping
122703f5171aSchristos	vindex.
122803f5171aSchristos	(print_insn): Handle PREFIX_IGNORED.
122903f5171aSchristos
123003f5171aSchristos2021-03-09  Jan Beulich  <jbeulich@suse.com>
123103f5171aSchristos
123203f5171aSchristos	* opcodes/i386-gen.c (opcode_modifiers): Delete NoTrackPrefixOk,
123303f5171aSchristos	IsLockable, RepPrefixOk, and HLEPrefixOk elements. Add PrefixOk
123403f5171aSchristos	element.
123503f5171aSchristos	* opcodes/i386-opc.h (NoTrackPrefixOk, IsLockable, HLEPrefixNone,
123603f5171aSchristos	HLEPrefixLock, HLEPrefixAny, HLEPrefixRelease): Delete.
123703f5171aSchristos	(PrefixNone, PrefixRep, PrefixHLERelease, PrefixNoTrack,
123803f5171aSchristos	PrefixLock, PrefixHLELock, PrefixHLEAny): Define.
123903f5171aSchristos	(struct i386_opcode_modifier): Delete notrackprefixok,
124003f5171aSchristos	islockable, hleprefixok, and repprefixok fields. Add prefixok
124103f5171aSchristos	field.
124203f5171aSchristos	* opcodes/i386-opc.tbl (RepPrefixOk, LockPrefixOk, HLEPrefixAny,
124303f5171aSchristos	HLEPrefixLock, HLEPrefixRelease, NoTrackPrefixOk): Define.
124403f5171aSchristos	(mov, xchg, add, inc, sub, dec, sbb, and, or, xor, adc, neg,
124503f5171aSchristos	not, btc, btr, bts, xadd, cmpxchg, cmpxchg8b, movq, cmpxchg16b):
124603f5171aSchristos	Replace HLEPrefixOk.
124703f5171aSchristos	* opcodes/i386-tbl.h: Re-generate.
124803f5171aSchristos
124903f5171aSchristos2021-03-09  Jan Beulich  <jbeulich@suse.com>
125003f5171aSchristos
125103f5171aSchristos	* opcodes/i386-dis.c (dis386_twobyte): Add %LQ to sysexit.
125203f5171aSchristos	* opcodes/i386-opc.tbl (sysexit): Drop No_lSuf and No_qSuf from
125303f5171aSchristos	64-bit form.
125403f5171aSchristos	* opcodes/i386-tbl.h: Re-generate.
125503f5171aSchristos
125603f5171aSchristos2021-03-03  Jan Beulich  <jbeulich@suse.com>
125703f5171aSchristos
125803f5171aSchristos	* i386-gen.c (output_i386_opcode): Don't get operand count. Look
125903f5171aSchristos	for {} instead of {0}. Don't look for '0'.
126003f5171aSchristos	* i386-opc.tbl: Drop operand count field. Drop redundant operand
126103f5171aSchristos	size specifiers.
126203f5171aSchristos
126303f5171aSchristos2021-02-19  Nelson Chu  <nelson.chu@sifive.com>
126403f5171aSchristos
126503f5171aSchristos	PR 27158
126603f5171aSchristos	* riscv-dis.c (print_insn_args): Updated encoding macros.
126703f5171aSchristos	* riscv-opc.c (MASK_RVC_IMM): defined to ENCODE_CITYPE_IMM.
126803f5171aSchristos	(match_c_addi16sp): Updated encoding macros.
126903f5171aSchristos	(match_c_lui): Likewise.
127003f5171aSchristos	(match_c_lui_with_hint): Likewise.
127103f5171aSchristos	(match_c_addi4spn): Likewise.
127203f5171aSchristos	(match_c_slli): Likewise.
127303f5171aSchristos	(match_slli_as_c_slli): Likewise.
127403f5171aSchristos	(match_c_slli64): Likewise.
127503f5171aSchristos	(match_srxi_as_c_srxi): Likewise.
127603f5171aSchristos	(riscv_insn_types): Added .insn css/cl/cs.
127703f5171aSchristos
127803f5171aSchristos2021-02-18  Nelson Chu  <nelson.chu@sifive.com>
127903f5171aSchristos
128003f5171aSchristos	* riscv-dis.c: Included cpu-riscv.h, and removed elfxx-riscv.h.
128103f5171aSchristos	(default_priv_spec): Updated type to riscv_spec_class.
128203f5171aSchristos	(parse_riscv_dis_option): Updated.
128303f5171aSchristos	* riscv-opc.c: Moved stuff and make the file tidy.
128403f5171aSchristos
128503f5171aSchristos2021-02-17  Alan Modra  <amodra@gmail.com>
128603f5171aSchristos
128703f5171aSchristos	* wasm32-dis.c: Include limits.h.
128803f5171aSchristos	(CHAR_BIT): Provide backup define.
128903f5171aSchristos	(wasm_read_leb128): Use CHAR_BIT to size "result" in bits.
129003f5171aSchristos	Correct signed overflow checking.
129103f5171aSchristos
129203f5171aSchristos2021-02-16  Jan Beulich  <jbeulich@suse.com>
129303f5171aSchristos
129403f5171aSchristos	* i386-opc.tbl: Split CVTPI2PD template. Add SSE2AVX variant.
129503f5171aSchristos	* i386-tbl.h: Re-generate.
129603f5171aSchristos
129703f5171aSchristos2021-02-16  Jan Beulich  <jbeulich@suse.com>
129803f5171aSchristos
129903f5171aSchristos	* i386-gen.c (set_bitfield): Don't look for CpuFP, Mmword, nor
130003f5171aSchristos	Oword.
130103f5171aSchristos	* i386-opc.tbl (CpuFP, Mmword, Oword): Define.
130203f5171aSchristos
130303f5171aSchristos2021-02-15  Andreas Krebbel  <krebbel@linux.ibm.com>
130403f5171aSchristos
130503f5171aSchristos	* s390-mkopc.c (main): Accept arch14 as cpu string.
130603f5171aSchristos	* s390-opc.txt: Add new arch14 instructions.
130703f5171aSchristos
130803f5171aSchristos2021-02-04  Nick Alcock  <nick.alcock@oracle.com>
130903f5171aSchristos
131003f5171aSchristos	* configure.ac (SHARED_LIBADD): Remove explicit -lintl population in
131103f5171aSchristos	favour of LIBINTL.
131203f5171aSchristos	* configure: Regenerated.
131303f5171aSchristos
131403f5171aSchristos2021-02-08  Mike Frysinger  <vapier@gentoo.org>
131503f5171aSchristos
131603f5171aSchristos	* tic54x-dis.c (sprint_mmr): Change to tic54x_mmregs.
131703f5171aSchristos	* tic54x-opc.c (regs): Rename to ...
131803f5171aSchristos	(tic54x_regs): ... this.
131903f5171aSchristos	(mmregs): Rename to ...
132003f5171aSchristos	(tic54x_mmregs): ... this.
132103f5171aSchristos	(condition_codes): Rename to ...
132203f5171aSchristos	(tic54x_condition_codes): ... this.
132303f5171aSchristos	(cc2_codes): Rename to ...
132403f5171aSchristos	(tic54x_cc2_codes): ... this.
132503f5171aSchristos	(cc3_codes): Rename to ...
132603f5171aSchristos	(tic54x_cc3_codes): ... this.
132703f5171aSchristos	(status_bits): Rename to ...
132803f5171aSchristos	(tic54x_status_bits): ... this.
132903f5171aSchristos	(misc_symbols): Rename to ...
133003f5171aSchristos	(tic54x_misc_symbols): ... this.
133103f5171aSchristos
133203f5171aSchristos2021-02-04  Nelson Chu  <nelson.chu@sifive.com>
133303f5171aSchristos
133403f5171aSchristos	* riscv-opc.c (MASK_RVB_IMM): Removed.
133503f5171aSchristos	(riscv_opcodes): Removed zb* instructions.
133603f5171aSchristos	(riscv_ext_version_table): Removed versions for zb*.
133703f5171aSchristos
133803f5171aSchristos2021-01-26  Alan Modra  <amodra@gmail.com>
133903f5171aSchristos
134003f5171aSchristos	* i386-gen.c (parse_template): Ensure entire template_instance
134103f5171aSchristos	is initialised.
134203f5171aSchristos
134303f5171aSchristos2021-01-15  Nelson Chu  <nelson.chu@sifive.com>
134403f5171aSchristos
134503f5171aSchristos	* riscv-opc.c (riscv_gpr_names_abi): Aligned the code.
134603f5171aSchristos	(riscv_fpr_names_abi): Likewise.
134703f5171aSchristos	(riscv_opcodes): Likewise.
134803f5171aSchristos	(riscv_insn_types): Likewise.
134903f5171aSchristos
135003f5171aSchristos2021-01-15  Nelson Chu  <nelson.chu@sifive.com>
135103f5171aSchristos
135203f5171aSchristos	* riscv-dis.c (parse_riscv_dis_option): Fix typos of message.
135303f5171aSchristos
135403f5171aSchristos2021-01-15  Nelson Chu  <nelson.chu@sifive.com>
135503f5171aSchristos
135603f5171aSchristos	* riscv-dis.c: Comments tidy and improvement.
135703f5171aSchristos	* riscv-opc.c: Likewise.
135803f5171aSchristos
135903f5171aSchristos2021-01-13  Alan Modra  <amodra@gmail.com>
136003f5171aSchristos
136103f5171aSchristos	* Makefile.in: Regenerate.
136203f5171aSchristos
136303f5171aSchristos2021-01-12  H.J. Lu  <hongjiu.lu@intel.com>
136403f5171aSchristos
136503f5171aSchristos	PR binutils/26792
136603f5171aSchristos	* configure.ac: Use GNU_MAKE_JOBSERVER.
136703f5171aSchristos	* aclocal.m4: Regenerated.
136803f5171aSchristos	* configure: Likewise.
136903f5171aSchristos
137003f5171aSchristos2021-01-12  Nick Clifton  <nickc@redhat.com>
137103f5171aSchristos
137203f5171aSchristos	* po/sr.po: Updated Serbian translation.
137303f5171aSchristos
137403f5171aSchristos2021-01-11  H.J. Lu  <hongjiu.lu@intel.com>
137503f5171aSchristos
137603f5171aSchristos	PR ld/27173
137703f5171aSchristos	* configure: Regenerated.
137803f5171aSchristos
137903f5171aSchristos2021-01-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
138003f5171aSchristos
138103f5171aSchristos	* aarch64-asm-2.c: Regenerate.
138203f5171aSchristos	* aarch64-dis-2.c: Likewise.
138303f5171aSchristos	* aarch64-opc-2.c: Likewise.
138403f5171aSchristos	* aarch64-opc.c (aarch64_print_operand):
138503f5171aSchristos	Delete handling of AARCH64_OPND_CSRE_CSR.
138603f5171aSchristos	* aarch64-tbl.h (aarch64_feature_csre): Delete.
138703f5171aSchristos	(CSRE): Likewise.
138803f5171aSchristos	(_CSRE_INSN): Likewise.
138903f5171aSchristos	(aarch64_opcode_table): Delete csr.
139003f5171aSchristos
139103f5171aSchristos2021-01-11  Nick Clifton  <nickc@redhat.com>
139203f5171aSchristos
139303f5171aSchristos	* po/de.po: Updated German translation.
139403f5171aSchristos	* po/fr.po: Updated French translation.
139503f5171aSchristos	* po/pt_BR.po: Updated Brazilian Portuguese translation.
139603f5171aSchristos	* po/sv.po: Updated Swedish translation.
139703f5171aSchristos	* po/uk.po: Updated Ukranian translation.
139803f5171aSchristos
139903f5171aSchristos2021-01-09  H.J. Lu  <hongjiu.lu@intel.com>
140003f5171aSchristos
140103f5171aSchristos	* configure: Regenerated.
140203f5171aSchristos
140303f5171aSchristos2021-01-09  Nick Clifton  <nickc@redhat.com>
140403f5171aSchristos
140503f5171aSchristos	* configure: Regenerate.
140603f5171aSchristos	* po/opcodes.pot: Regenerate.
140703f5171aSchristos
140803f5171aSchristos2021-01-09  Nick Clifton  <nickc@redhat.com>
140903f5171aSchristos
141003f5171aSchristos	* 2.36 release branch crated.
141103f5171aSchristos
141203f5171aSchristos2021-01-08  Peter Bergner  <bergner@linux.ibm.com>
141303f5171aSchristos
141403f5171aSchristos	* ppc-opc.c (insert_dw, (extract_dw): New functions.
141503f5171aSchristos	(DW, (XRC_MASK): Define.
141603f5171aSchristos	(powerpc_opcodes) <hashchk, hashchkp, hashst, haststp>: New mnemonics.
141703f5171aSchristos
141803f5171aSchristos2021-01-09  Alan Modra  <amodra@gmail.com>
141903f5171aSchristos
142003f5171aSchristos	* configure: Regenerate.
142103f5171aSchristos
142203f5171aSchristos2021-01-08  Nick Clifton  <nickc@redhat.com>
142303f5171aSchristos
142403f5171aSchristos	* po/sv.po: Updated Swedish translation.
142503f5171aSchristos
142603f5171aSchristos2021-01-08  Nick Clifton  <nickc@redhat.com>
142703f5171aSchristos
142803f5171aSchristos	PR 27129
142903f5171aSchristos	* aarch64-dis.c (determine_disassembling_preference): Move call to
143003f5171aSchristos	aarch64_match_operands_constraint outside of the assertion.
143103f5171aSchristos	* aarch64-asm.c (aarch64_ins_limm_1): Remove call to assert.
143203f5171aSchristos	Replace with a return of FALSE.
143303f5171aSchristos
143403f5171aSchristos	PR 27139
143503f5171aSchristos	* aarch64-opc.c (aarch64_sys_regs): Treat id_aa64mmfr2_el1 as a
143603f5171aSchristos	core system register.
143703f5171aSchristos
143803f5171aSchristos2021-01-07  Samuel Thibault  <samuel.thibault@gnu.org>
143903f5171aSchristos
144003f5171aSchristos	* configure: Regenerate.
144103f5171aSchristos
144203f5171aSchristos2021-01-07  Nick Clifton  <nickc@redhat.com>
144303f5171aSchristos
144403f5171aSchristos	* po/fr.po: Updated French translation.
144503f5171aSchristos
144603f5171aSchristos2021-01-07  Fredrik Noring  <noring@nocrew.org>
144703f5171aSchristos
144803f5171aSchristos	* m68k-opc.c (chkl): Change minimum architecture requirement to
144903f5171aSchristos	m68020.
145003f5171aSchristos
145103f5171aSchristos2021-01-07  Philipp Tomsich  <prt@gnu.org>
145203f5171aSchristos
145303f5171aSchristos	* riscv-opc.c (riscv_opcodes): Add pause hint instruction.
145403f5171aSchristos
145503f5171aSchristos2021-01-07  Claire Xenia Wolf  <claire@symbioticeda.com>
145603f5171aSchristos	    Jim Wilson  <jimw@sifive.com>
145703f5171aSchristos	    Andrew Waterman  <andrew@sifive.com>
145803f5171aSchristos	    Maxim Blinov  <maxim.blinov@embecosm.com>
145903f5171aSchristos	    Kito Cheng  <kito.cheng@sifive.com>
146003f5171aSchristos	    Nelson Chu  <nelson.chu@sifive.com>
146103f5171aSchristos
146203f5171aSchristos	* riscv-opc.c (riscv_opcodes): Add ZBA/ZBB/ZBC instructions.
146303f5171aSchristos	(MASK_RVB_IMM): Used for rev8 and orc.b encoding.
146403f5171aSchristos
146503f5171aSchristos2021-01-01  Alan Modra  <amodra@gmail.com>
14662a6b7db3Sskrll
14675f4eaf39Schristos	Update year range in copyright notice of all files.
14682a6b7db3Sskrll
146903f5171aSchristosFor older changes see ChangeLog-2020
14702a6b7db3Sskrll
1471*dd7241dfSchristosCopyright (C) 2021-2024 Free Software Foundation, Inc.
14725f4eaf39Schristos
14735f4eaf39SchristosCopying and distribution of this file, with or without modification,
14745f4eaf39Schristosare permitted in any medium without royalty provided the copyright
14755f4eaf39Schristosnotice and this notice are preserved.
14765f4eaf39Schristos
14772a6b7db3SskrllLocal Variables:
14782a6b7db3Sskrllmode: change-log
14792a6b7db3Sskrllleft-margin: 8
14802a6b7db3Sskrllfill-column: 74
14812a6b7db3Sskrllversion-control: never
14822a6b7db3SskrllEnd:
1483